Restore per-row logging for device list outbound poke notifications

This commit is contained in:
Quentin Gliech
2026-03-05 11:18:31 +01:00
parent 11942d1221
commit f5195fec22

View File

@@ -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