diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-01-29 17:40:33 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-01-30 22:15:50 +0000 |
commit | 2a81393a4b905c8bd4c31da04a8b4407462948b9 (patch) | |
tree | 062611788be62dbd6a6b8bf50a60f1f8d5ef95f4 /synapse/events/builder.py | |
parent | Pass room_version into create_local_event_from_event_dict (diff) | |
download | synapse-2a81393a4b905c8bd4c31da04a8b4407462948b9.tar.xz |
Pass room_version into add_hashes_and_signatures
Diffstat (limited to 'synapse/events/builder.py')
-rw-r--r-- | synapse/events/builder.py | 2 |
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 ) |