diff options
author | Erik Johnston <erik@matrix.org> | 2017-09-14 11:49:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-09-14 11:49:37 +0100 |
commit | 3a0cee28d6457b812123f6bad6deee476bef4984 (patch) | |
tree | f365869feca59c9f15eda1e22a1d1fbd3b99e56f /synapse | |
parent | Handle joining/leaving rooms in /keys/changes (diff) | |
download | synapse-3a0cee28d6457b812123f6bad6deee476bef4984.tar.xz |
Actually hook leave notifs up
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/sync.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 9aae4c344b..c6b04a1683 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -545,7 +545,8 @@ class SyncHandler(object): res = yield self._generate_sync_entry_for_rooms( sync_result_builder, account_data_by_room ) - newly_joined_rooms, newly_joined_users, _, newly_left_users = res + newly_joined_rooms, newly_joined_users, _, _ = res + _, _, newly_left_rooms, newly_left_users = res block_all_presence_data = ( since_token is None and @@ -562,7 +563,7 @@ class SyncHandler(object): sync_result_builder, newly_joined_rooms=newly_joined_rooms, newly_joined_users=newly_joined_users, - newly_left_rooms=[], + newly_left_rooms=newly_left_rooms, newly_left_users=newly_left_users, ) |