summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2017-04-12 10:50:37 +0100
committerLuke Barnard <lukeb@openmarket.com>2017-04-12 10:50:37 +0100
commit69a18514e94a8fae928e80bae17c701186686d12 (patch)
treea8365372ffaaf8b766a4803814f84ada64262a4c
parentRemove comment, simplify null-guard (diff)
downloadsynapse-69a18514e94a8fae928e80bae17c701186686d12.tar.xz
Only notify user, not entire room
-rw-r--r--synapse/handlers/read_marker.py4
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])