summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-01-29 13:35:19 +0000
committerGitHub <noreply@github.com>2019-01-29 13:35:19 +0000
commit2562319821dff2acd3048bdab12f823c49e8a33d (patch)
tree5ee7c3d23a36000c6171d4e48e9275d2a7e57ccc /synapse/handlers/federation.py
parentEnable configuring test log level via env var (#4506) (diff)
parentNewsfile (diff)
downloadsynapse-2562319821dff2acd3048bdab12f823c49e8a33d.tar.xz
Merge pull request #4510 from matrix-org/erikj/fixup_compute_event_signature
Fixup calls to `comput_event_signature`
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index adf59db7a8..fcaf7530b0 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1300,7 +1300,7 @@ class FederationHandler(BaseHandler):
 
         event.signatures.update(
             compute_event_signature(
-                event,
+                event.get_pdu_json(),
                 self.hs.hostname,
                 self.hs.config.signing_key[0]
             )