summary refs log tree commit diff
path: root/synapse/handlers/read_marker.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/read_marker.py')
-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])