From f59e3f4c900b3961e2b96592a67cd2f0821b00db Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 26 Apr 2022 17:07:21 +0100 Subject: Mark remote device list updates as already handled (#12557) --- synapse/storage/databases/main/devices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'synapse/storage/databases/main') diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py index 59d223a900..483dd80406 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py @@ -1748,7 +1748,8 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore): device_id, room_id, stream_id, - False, + # We only need to calculate outbound pokes for local users + not self.hs.is_mine_id(user_id), encoded_context, ) for room_id in room_ids -- cgit 1.4.1