summary refs log tree commit diff
path: root/synapse/federation/federation_server.py
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2022-07-27 13:44:40 +0100
committerGitHub <noreply@github.com>2022-07-27 13:44:40 +0100
commit502f075e96b458a183952ae2be402f00b28af299 (patch)
tree63e1bca88c782aef6b9510cb126206816aabca55 /synapse/federation/federation_server.py
parentMake minor clarifications to the error messages given when we fail to join a ... (diff)
downloadsynapse-502f075e96b458a183952ae2be402f00b28af299.tar.xz
Implement MSC3848: Introduce errcodes for specific event sending failures (#13343)
Implements MSC3848
Diffstat (limited to 'synapse/federation/federation_server.py')
-rw-r--r--synapse/federation/federation_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index ae550d3f4d..1d60137411 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -469,7 +469,7 @@ class FederationServer(FederationBase):
                     )
                     for pdu in pdus_by_room[room_id]:
                         event_id = pdu.event_id
-                        pdu_results[event_id] = e.error_dict()
+                        pdu_results[event_id] = e.error_dict(self.hs.config)
                     return
 
                 for pdu in pdus_by_room[room_id]: