mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 18:18:47 -05:00
Merge pull request #2163 from matrix-org/erikj/fix_invite_state
Fix invite state to always include all events
This commit is contained in:
commit
25a96e0c63
3 changed files with 26 additions and 7 deletions
|
|
@ -253,6 +253,7 @@ class SyncRestServlet(RestServlet):
|
|||
invite = serialize_event(
|
||||
room.invite, time_now, token_id=token_id,
|
||||
event_format=format_event_for_client_v2_without_room_id,
|
||||
is_invite=True,
|
||||
)
|
||||
unsigned = dict(invite.get("unsigned", {}))
|
||||
invite["unsigned"] = unsigned
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue