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

@ -176,7 +176,7 @@ class MatrixFederationHttpClient(object):
def __init__(self, hs, tls_client_options_factory):
self.hs = hs
self.signing_key = hs.config.signing_key[0]
self.signing_key = hs.signing_key
self.server_name = hs.hostname
real_reactor = hs.get_reactor()