summaryrefslogtreecommitdiff
path: root/synapse/crypto/keyring.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2021-05-11 16:41:38 +0200
committerAndrej Shadura <andrewsh@debian.org>2021-05-11 16:41:38 +0200
commit8b13141dd36d5784fe820afa06aa21a0c5735155 (patch)
tree12ac731328b325992ab80b1c8cecf4ed79f7935b /synapse/crypto/keyring.py
parent55e3da6770137d9858028903525a99764b39e8b3 (diff)
New upstream version 1.33.2
Diffstat (limited to 'synapse/crypto/keyring.py')
-rw-r--r--synapse/crypto/keyring.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py
index d5fb5151..5f18ef77 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Copyright 2014-2016 OpenMarket Ltd
# Copyright 2017, 2018 New Vector Ltd
#
@@ -502,7 +501,7 @@ class StoreKeyFetcher(KeyFetcher):
class BaseV2KeyFetcher(KeyFetcher):
def __init__(self, hs: "HomeServer"):
self.store = hs.get_datastore()
- self.config = hs.get_config()
+ self.config = hs.config
async def process_v2_response(
self, from_server: str, response_json: JsonDict, time_added_ms: int