mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:14:56 -04:00
Add some tests for propagation of device list changes between local users (#11972)
This commit is contained in:
parent
c4c98c7518
commit
87f2005713
4 changed files with 163 additions and 3 deletions
|
@ -138,7 +138,7 @@ class _NotifierUserStream:
|
|||
self.current_token = self.current_token.copy_and_advance(stream_key, stream_id)
|
||||
self.last_notified_token = self.current_token
|
||||
self.last_notified_ms = time_now_ms
|
||||
noify_deferred = self.notify_deferred
|
||||
notify_deferred = self.notify_deferred
|
||||
|
||||
log_kv(
|
||||
{
|
||||
|
@ -153,7 +153,7 @@ class _NotifierUserStream:
|
|||
|
||||
with PreserveLoggingContext():
|
||||
self.notify_deferred = ObservableDeferred(defer.Deferred())
|
||||
noify_deferred.callback(self.current_token)
|
||||
notify_deferred.callback(self.current_token)
|
||||
|
||||
def remove(self, notifier: "Notifier") -> None:
|
||||
"""Remove this listener from all the indexes in the Notifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue