diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-07-25 11:08:24 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-07-25 11:08:24 -0400 |
commit | c659b9f94fff29adfb2abe4f6b345710b65e8741 (patch) | |
tree | 54d00d836461f071276f9c7e776766e8ebd6200a /synapse/storage/__init__.py | |
parent | allow devices to be marked as "hidden" (diff) | |
download | synapse-c659b9f94fff29adfb2abe4f6b345710b65e8741.tar.xz |
allow uploading keys for cross-signing
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 6b0ca80087..c20ba1001c 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket Ltd -# Copyright 2018 New Vector Ltd +# Copyright 2018,2019 New Vector Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -207,6 +207,9 @@ class DataStore( self._device_list_stream_cache = StreamChangeCache( "DeviceListStreamChangeCache", device_list_max ) + self._user_signature_stream_cache = StreamChangeCache( + "UserSignatureStreamChangeCache", device_list_max + ) self._device_list_federation_stream_cache = StreamChangeCache( "DeviceListFederationStreamChangeCache", device_list_max ) |