mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-08 09:32:43 -04:00
Only send out device list updates for our own users (#12465)
Broke in #12365
This commit is contained in:
parent
535a689cfc
commit
0b014eb25e
5 changed files with 56 additions and 8 deletions
|
@ -1703,7 +1703,9 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore):
|
|||
next(stream_id_iterator),
|
||||
user_id,
|
||||
device_id,
|
||||
False,
|
||||
not self.hs.is_mine_id(
|
||||
user_id
|
||||
), # We only need to send out update for *our* users
|
||||
now,
|
||||
encoded_context if whitelisted_homeserver(destination) else "{}",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue