mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 22:14:57 -04:00
pass room_version into compute_event_signature (#6807)
This commit is contained in:
parent
a5afdd15e5
commit
7f93eb1903
3 changed files with 25 additions and 9 deletions
|
@ -1528,7 +1528,10 @@ class FederationHandler(BaseHandler):
|
|||
|
||||
event.signatures.update(
|
||||
compute_event_signature(
|
||||
event.get_pdu_json(), self.hs.hostname, self.hs.config.signing_key[0]
|
||||
room_version,
|
||||
event.get_pdu_json(),
|
||||
self.hs.hostname,
|
||||
self.hs.config.signing_key[0],
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue