Cross-link MSC4319

This commit is contained in:
Eric Eastwood
2026-07-22 14:14:35 -05:00
parent 3fc94ba34a
commit 26bf7390eb
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -462,7 +462,8 @@ class SyncRestServlet(RestServlet):
invited_state = list(invited_state)
# Add the invite itself
#
# FIXME: Doesn't seem to be in the spec
# FIXME: Doesn't seem to be in the spec but tracked by
# [MSC4319](https://github.com/matrix-org/matrix-spec-proposals/pull/4319)
invited_state.append(strip_event(room.invite))
invited[room.room_id] = {"invite_state": {"events": invited_state}}
@@ -514,7 +515,8 @@ class SyncRestServlet(RestServlet):
#
# * A knock state event that they can use for easier internal tracking
#
# FIXME: Doesn't seem to be in the spec
# FIXME: Doesn't seem to be in the spec but tracked by
# [MSC4319](https://github.com/matrix-org/matrix-spec-proposals/pull/4319)
knocked_state.append(strip_event(room.knock))
# Build the `knock_state` dictionary, which will contain the state of the
@@ -1178,7 +1178,8 @@ class EventsWorkerStore(SQLBaseStore):
# We want to send membership events of the inviter, so that the invitee can
# display the inviter's profile information if the room lacks any.
#
# FIXME: Doesn't seem to be in the spec
# FIXME: Doesn't seem to be in the spec but tracked by
# [MSC4319](https://github.com/matrix-org/matrix-spec-proposals/pull/4319)
is_invite_event = (
event.type == EventTypes.Member and event.membership == Membership.INVITE
)