mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:24:51 -04:00
Add HomeServer.signing_key
property (#7805)
... instead of duplicating `config.signing_key[0]` everywhere
This commit is contained in:
parent
ef5ed5292b
commit
67593b1728
10 changed files with 12 additions and 12 deletions
|
@ -232,6 +232,8 @@ class HomeServer(object):
|
|||
|
||||
self._reactor = reactor
|
||||
self.hostname = hostname
|
||||
# the key we use to sign events and requests
|
||||
self.signing_key = config.key.signing_key[0]
|
||||
self.config = config
|
||||
self._building = {}
|
||||
self._listening_services = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue