diff options
author | Erik Johnston <erik@matrix.org> | 2017-09-07 15:08:39 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-09-07 15:08:39 +0100 |
commit | 53cc8ad35a269723478a1ee1a9a96d510a7b044f (patch) | |
tree | 36c8d8631ace5cc0ed871518da543a944b135404 /synapse/rest | |
parent | Merge pull request #2439 from matrix-org/rav/tox_tweaks (diff) | |
download | synapse-53cc8ad35a269723478a1ee1a9a96d510a7b044f.tar.xz |
Send down device list change notif when member leaves/rejoins room
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index 2939896f44..978af9c280 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -189,7 +189,8 @@ class SyncRestServlet(RestServlet): "account_data": {"events": sync_result.account_data}, "to_device": {"events": sync_result.to_device}, "device_lists": { - "changed": list(sync_result.device_lists), + "changed": list(sync_result.device_lists.changed), + "left": list(sync_result.device_lists.left), }, "presence": SyncRestServlet.encode_presence( sync_result.presence, time_now |