From f5195fec22d85aad2d2fa7f385a0ae43695e224b Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 5 Mar 2026 11:18:31 +0100 Subject: [PATCH] Restore per-row logging for device list outbound poke notifications --- synapse/handlers/device.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index d4c75bb965..ad0bde5078 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -1138,7 +1138,14 @@ class DeviceWriterHandler(DeviceHandler): converted_upto_stream_id=stream_id, ) - all_hosts_to_notify.update(hosts) + if hosts: + all_hosts_to_notify.update(hosts) + if self.federation_sender: + logger.info( + "Sending device list update notif for %r to: %r", + user_id, + hosts, + ) if current_stream_id != stream_id: # Clear the set of hosts we've already sent to as we're