Refer to the knock push rule by its published MSC number (MSC4506)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uk8aPxHn3BHCe52L226jdG
This commit is contained in:
Matthew Hodgson
2026-07-14 13:24:33 +01:00
parent c86307dead
commit 34293eb824
2 changed files with 2 additions and 2 deletions
@@ -301,7 +301,7 @@ class DefaultNotifiableEventResolver(
throw NotificationResolverException.EventFilteredOut throw NotificationResolverException.EventFilteredOut
} }
is NotificationContent.StateEvent.RoomMemberContent -> { is NotificationContent.StateEvent.RoomMemberContent -> {
// MSCxxxx: the homeserver pushes knocks to users who can act on them. // MSC4506: the homeserver pushes knocks to users who can act on them.
if (content.membershipState == RoomMembershipState.KNOCK) { if (content.membershipState == RoomMembershipState.KNOCK) {
val notifiableMessageEvent = buildNotifiableMessageEvent( val notifiableMessageEvent = buildNotifiableMessageEvent(
sessionId = userId, sessionId = userId,
@@ -6,6 +6,6 @@
--> -->
<resources> <resources>
<!-- Body of the notification shown to users who can act on a knock (MSCxxxx knock push rule). --> <!-- Body of the notification shown to users who can act on a knock (MSC4506 knock push rule). -->
<string name="notification_knock_request_body">"Requested to join"</string> <string name="notification_knock_request_body">"Requested to join"</string>
</resources> </resources>