mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-12 20:52:14 -04:00
Merge account data streams (#14826)
This commit is contained in:
parent
1416096527
commit
73ff493dfb
12 changed files with 75 additions and 83 deletions
|
@ -33,7 +33,6 @@ from synapse.replication.tcp.streams import (
|
|||
PushersStream,
|
||||
PushRulesStream,
|
||||
ReceiptsStream,
|
||||
TagAccountDataStream,
|
||||
ToDeviceStream,
|
||||
TypingStream,
|
||||
UnPartialStatedEventStream,
|
||||
|
@ -168,7 +167,7 @@ class ReplicationDataHandler:
|
|||
self.notifier.on_new_event(
|
||||
StreamKeyType.PUSH_RULES, token, users=[row.user_id for row in rows]
|
||||
)
|
||||
elif stream_name in (AccountDataStream.NAME, TagAccountDataStream.NAME):
|
||||
elif stream_name in AccountDataStream.NAME:
|
||||
self.notifier.on_new_event(
|
||||
StreamKeyType.ACCOUNT_DATA, token, users=[row.user_id for row in rows]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue