mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:14:49 -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
|
@ -162,7 +162,7 @@ class EventBuilderFactory(object):
|
|||
def __init__(self, hs):
|
||||
self.clock = hs.get_clock()
|
||||
self.hostname = hs.hostname
|
||||
self.signing_key = hs.config.signing_key[0]
|
||||
self.signing_key = hs.signing_key
|
||||
|
||||
self.store = hs.get_datastore()
|
||||
self.state = hs.get_state_handler()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue