diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-26 16:18:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-26 16:18:08 +0100 |
commit | 34e682d3855562a4ca6e32f366a2ecfa1c684a3a (patch) | |
tree | 6328201b5fb85cf4986cbb10066e6e7497d82bbc /synapse/rest/client/v2_alpha/sync.py | |
parent | Merge pull request #2160 from matrix-org/erikj/reduce_join_cache_size (diff) | |
download | synapse-34e682d3855562a4ca6e32f366a2ecfa1c684a3a.tar.xz |
Fix invite state to always include all events
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index a7a9e0a794..b5bcfade70 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -250,9 +250,11 @@ class SyncRestServlet(RestServlet): """ invited = {} for room in rooms: + logger.info("invite: %r", room.invite) 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 |