mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 15:53:52 +01:00
Only notify user, not entire room
This commit is contained in:
parent
122cd52ce4
commit
69a18514e9
1 changed files with 1 additions and 3 deletions
|
@ -60,6 +60,4 @@ class ReadMarkerHandler(BaseHandler):
|
||||||
max_id = yield self.store.add_account_data_to_room(
|
max_id = yield self.store.add_account_data_to_room(
|
||||||
user_id, room_id, "m.read_marker", content
|
user_id, room_id, "m.read_marker", content
|
||||||
)
|
)
|
||||||
self.notifier.on_new_event(
|
self.notifier.on_new_event("account_data_key", max_id, users=[user_id])
|
||||||
"account_data_key", max_id, users=[user_id], rooms=[room_id]
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in a new issue