mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 10:23:51 +01:00
Resign events when we return them via /query_auth/
This commit is contained in:
parent
68bd7dfbb7
commit
4c0da49d7c
1 changed files with 9 additions and 0 deletions
|
@ -741,6 +741,15 @@ class FederationHandler(BaseHandler):
|
|||
local_auth_chain, remote_auth_chain
|
||||
)
|
||||
|
||||
for event in ret["auth_chain"]:
|
||||
event.signatures.update(
|
||||
compute_event_signature(
|
||||
event,
|
||||
self.hs.hostname,
|
||||
self.hs.config.signing_key[0]
|
||||
)
|
||||
)
|
||||
|
||||
logger.debug("on_query_auth reutrning: %s", ret)
|
||||
|
||||
defer.returnValue(ret)
|
||||
|
|
Loading…
Reference in a new issue