Only notify user, not entire room

This commit is contained in:
Luke Barnard 2017-04-12 10:50:37 +01:00
parent 122cd52ce4
commit 69a18514e9
1 changed files with 1 additions and 3 deletions

View File

@ -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])