diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-04-12 10:50:37 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-04-12 10:50:37 +0100 |
commit | 69a18514e94a8fae928e80bae17c701186686d12 (patch) | |
tree | a8365372ffaaf8b766a4803814f84ada64262a4c /synapse/handlers | |
parent | Remove comment, simplify null-guard (diff) | |
download | synapse-69a18514e94a8fae928e80bae17c701186686d12.tar.xz |
Only notify user, not entire room
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/read_marker.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/read_marker.py b/synapse/handlers/read_marker.py index 7f10dd8b45..800240b8a9 100644 --- a/synapse/handlers/read_marker.py +++ b/synapse/handlers/read_marker.py @@ -60,6 +60,4 @@ class ReadMarkerHandler(BaseHandler): max_id = yield self.store.add_account_data_to_room( user_id, room_id, "m.read_marker", content ) - self.notifier.on_new_event( - "account_data_key", max_id, users=[user_id], rooms=[room_id] - ) + self.notifier.on_new_event("account_data_key", max_id, users=[user_id]) |