summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-10-02 11:05:29 +0100
committerGitHub <noreply@github.com>2020-10-02 11:05:29 +0100
commit3bd3707cb9615b5a9f7f7449ebe3ec495017ee9f (patch)
tree14e8dbbceda1ea816d0bbf3b08845d3d51030d78
parentDo not expose the experimental appservice login flow to clients. (#8440) (diff)
downloadsynapse-3bd3707cb9615b5a9f7f7449ebe3ec495017ee9f.tar.xz
Fix malformed log line in new federation "catch up" logic (#8442)
-rw-r--r--changelog.d/8442.bugfix1
-rw-r--r--synapse/federation/sender/per_destination_queue.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/8442.bugfix b/changelog.d/8442.bugfix
new file mode 100644
index 0000000000..6f779a1de5
--- /dev/null
+++ b/changelog.d/8442.bugfix
@@ -0,0 +1 @@
+Fix malformed log line in new federation "catch up" logic.
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index 2657767fd1..bc99af3fdd 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -490,7 +490,7 @@ class PerDestinationQueue:
                 )
 
             if logger.isEnabledFor(logging.INFO):
-                rooms = (p.room_id for p in catchup_pdus)
+                rooms = [p.room_id for p in catchup_pdus]
                 logger.info("Catching up rooms to %s: %r", self._destination, rooms)
 
             success = await self._transaction_manager.send_new_transaction(