summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-05-22 16:42:00 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-10-22 19:04:35 -0400
commit8d3542a64e2689a00ed87f9bd58fe3e1d3b10ed8 (patch)
treed96814f4ae9fa1f54defd9336889c3a3a36d5a63 /synapse/federation
parentMerge pull request #5726 from matrix-org/uhoreg/e2e_cross-signing2-part2 (diff)
downloadsynapse-8d3542a64e2689a00ed87f9bd58fe3e1d3b10ed8.tar.xz
implement federation parts of cross-signing
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/sender/per_destination_queue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index fad980b893..0486af2dbf 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -366,10 +366,10 @@ class PerDestinationQueue(object):
             Edu(
                 origin=self._server_name,
                 destination=self._destination,
-                edu_type="m.device_list_update",
+                edu_type=edu_type,
                 content=content,
             )
-            for content in results
+            for (edu_type, content) in results
         ]
 
         assert len(edus) <= limit, "get_devices_by_remote returned too many EDUs"