diff options
author | Erik Johnston <erikj@element.io> | 2024-05-22 13:55:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 13:55:18 +0100 |
commit | b71d2774388c90a68d71dd8d805556c8f62c92a1 (patch) | |
tree | fcc85d8ed6e18f6db16af4f3d50b9c8eca5f3ac2 /synapse/handlers | |
parent | Update Lemonldap-NG OIDC config (#17204) (diff) | |
download | synapse-b71d2774388c90a68d71dd8d805556c8f62c92a1.tar.xz |
Reduce work of calculating outbound device pokes (#17211)
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/device.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 55842e7c7b..0432d97109 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -906,6 +906,13 @@ class DeviceHandler(DeviceWorkerHandler): context=opentracing_context, ) + await self.store.mark_redundant_device_lists_pokes( + user_id=user_id, + device_id=device_id, + room_id=room_id, + converted_upto_stream_id=stream_id, + ) + # Notify replication that we've updated the device list stream. self.notifier.notify_replication() |