From a45067b3ef16fe05e33a68f06832bdb3e6cd9313 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 14 Mar 2023 10:35:29 -0400 Subject: [PATCH] Fix extra words. Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- content/client-server-api/modules/push.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/client-server-api/modules/push.md b/content/client-server-api/modules/push.md index 837adb4f..19406b0d 100644 --- a/content/client-server-api/modules/push.md +++ b/content/client-server-api/modules/push.md @@ -444,7 +444,7 @@ Definition: **`.m.rule.contains_display_name`** -Matches any message whose content is contains the user's current display name +Matches any message whose content contains the user's current display name in the room in which it was sent. Definition: @@ -572,7 +572,7 @@ Definition: **`.m.rule.contains_user_name`** -Matches any message whose content is contains the local part of the user's +Matches any message whose content contains the local part of the user's Matrix ID, separated by word boundaries. Definition (as a `content` rule):