diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-07-08 17:51:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 17:51:56 +0100 |
commit | 67593b17287ae5e412c3d30db64d006d3b55349b (patch) | |
tree | 773814cef2383b03bed077e207dbabe25d843d80 /synapse/events | |
parent | Revert "Update the installation docs on apt-transport-https (#7801)" (diff) | |
download | synapse-67593b17287ae5e412c3d30db64d006d3b55349b.tar.xz |
Add `HomeServer.signing_key` property (#7805)
... instead of duplicating `config.signing_key[0]` everywhere
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py index a0c4a40c27..92aadfe7ef 100644 --- a/synapse/events/builder.py +++ b/synapse/events/builder.py @@ -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() |