Add HomeServer.signing_key property (#7805)

... instead of duplicating `config.signing_key[0]` everywhere
This commit is contained in:
Richard van der Hoff 2020-07-08 17:51:56 +01:00 committed by GitHub
parent ef5ed5292b
commit 67593b1728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 12 deletions

View file

@ -1567,7 +1567,7 @@ class FederationHandler(BaseHandler):
room_version,
event.get_pdu_json(),
self.hs.hostname,
self.hs.config.signing_key[0],
self.hs.signing_key,
)
)