summary refs log tree commit diff
path: root/synapse/events/builder.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-01-29 17:40:33 +0000
committerRichard van der Hoff <richard@matrix.org>2020-01-30 22:15:50 +0000
commit2a81393a4b905c8bd4c31da04a8b4407462948b9 (patch)
tree062611788be62dbd6a6b8bf50a60f1f8d5ef95f4 /synapse/events/builder.py
parentPass room_version into create_local_event_from_event_dict (diff)
downloadsynapse-2a81393a4b905c8bd4c31da04a8b4407462948b9.tar.xz
Pass room_version into add_hashes_and_signatures
Diffstat (limited to 'synapse/events/builder.py')
-rw-r--r--synapse/events/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py
index a26f4c9044..8d63ad6dc3 100644
--- a/synapse/events/builder.py
+++ b/synapse/events/builder.py
@@ -255,7 +255,7 @@ def create_local_event_from_event_dict(
 
     event_dict.setdefault("signatures", {})
 
-    add_hashes_and_signatures(event_dict, hostname, signing_key)
+    add_hashes_and_signatures(room_version, event_dict, hostname, signing_key)
     return event_type_from_format_version(format_version)(
         event_dict, internal_metadata_dict=internal_metadata_dict
     )