mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:04:49 -04:00
Hook up the push rules stream to account_data in /sync
This commit is contained in:
parent
3406eba4ef
commit
1b4f4a936f
4 changed files with 85 additions and 69 deletions
|
@ -156,7 +156,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
|
|||
return 200, {}
|
||||
|
||||
def notify_user(self, user_id):
|
||||
stream_id = self.store.get_push_rules_stream_token()
|
||||
stream_id, _ = self.store.get_push_rules_stream_token()
|
||||
self.notifier.on_new_event(
|
||||
"push_rules_key", stream_id, users=[user_id]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue