mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-22 16:40:11 +00:00
Cross-link MSC4319
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user