From 69a18514e94a8fae928e80bae17c701186686d12 Mon Sep 17 00:00:00 2001
From: Luke Barnard <lukeb@openmarket.com>
Date: Wed, 12 Apr 2017 10:50:37 +0100
Subject: [PATCH] Only notify user, not entire room

---
 synapse/handlers/read_marker.py | 4 +---
 1 file changed, 1 insertion(+), 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])
-- 
GitLab