summary refs log tree commit diff
path: root/synapse/storage/signatures.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 16:40:27 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 16:44:13 +0000
commit7c371834ccbdf33f7070981bf23cbf11d1c1c333 (patch)
tree82226653ba7ac6e50e3237b3c4066fe7c43ea46d /synapse/storage/signatures.py
parentSplit out SignatureStore and EventFederationStore (diff)
downloadsynapse-7c371834ccbdf33f7070981bf23cbf11d1c1c333.tar.xz
Stub out broken function only used for cache
Diffstat (limited to 'synapse/storage/signatures.py')
-rw-r--r--synapse/storage/signatures.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/signatures.py b/synapse/storage/signatures.py
index e6eeb1b641..9e6eaaa532 100644
--- a/synapse/storage/signatures.py
+++ b/synapse/storage/signatures.py
@@ -25,7 +25,9 @@ from synapse.util.caches.descriptors import cached, cachedList
 class SignatureWorkerStore(SQLBaseStore):
     @cached()
     def get_event_reference_hash(self, event_id):
-        return self._get_event_reference_hashes_txn(event_id)
+        # This is a dummy function to allow get_event_reference_hashes
+        # to use its cache
+        raise NotImplementedError()
 
     @cachedList(cached_method_name="get_event_reference_hash",
                 list_name="event_ids", num_args=1)