diff options
author | David Baker <dave@matrix.org> | 2015-12-16 18:42:09 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-12-16 18:42:09 +0000 |
commit | 42ad49f5b75c2c645c4060026c21c5572f5b1063 (patch) | |
tree | c5ca59c9046ec92bcd6ec6d7ebf9b492fa86bbb0 /synapse/rest | |
parent | Store nothing instead of ['dont_notify'] for events with no notification requ... (diff) | |
download | synapse-42ad49f5b75c2c645c4060026c21c5572f5b1063.tar.xz |
still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index f0a637a6da..4ca10732c1 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -304,6 +304,7 @@ class SyncRestServlet(RestServlet): }, "state": {"events": serialized_state}, "account_data": {"events": account_data}, + "unread_notification_count": room.unread_notification_count } if joined: |