mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 11:22:02 +00:00
Actually hook leave notifs up
This commit is contained in:
parent
4f845a0713
commit
3a0cee28d6
@ -545,7 +545,8 @@ class SyncHandler(object):
|
|||||||
res = yield self._generate_sync_entry_for_rooms(
|
res = yield self._generate_sync_entry_for_rooms(
|
||||||
sync_result_builder, account_data_by_room
|
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 = (
|
block_all_presence_data = (
|
||||||
since_token is None and
|
since_token is None and
|
||||||
@ -562,7 +563,7 @@ class SyncHandler(object):
|
|||||||
sync_result_builder,
|
sync_result_builder,
|
||||||
newly_joined_rooms=newly_joined_rooms,
|
newly_joined_rooms=newly_joined_rooms,
|
||||||
newly_joined_users=newly_joined_users,
|
newly_joined_users=newly_joined_users,
|
||||||
newly_left_rooms=[],
|
newly_left_rooms=newly_left_rooms,
|
||||||
newly_left_users=newly_left_users,
|
newly_left_users=newly_left_users,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user