mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 15:54: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
|
@ -41,7 +41,7 @@ class GroupsServerWorkerHandler(object):
|
|||
self.clock = hs.get_clock()
|
||||
self.keyring = hs.get_keyring()
|
||||
self.is_mine_id = hs.is_mine_id
|
||||
self.signing_key = hs.config.signing_key[0]
|
||||
self.signing_key = hs.signing_key
|
||||
self.server_name = hs.hostname
|
||||
self.attestations = hs.get_groups_attestation_signing()
|
||||
self.transport_client = hs.get_federation_transport_client()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue