summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-22 18:39:46 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-22 18:39:46 +0100
commit3559a835a22be3ae474fc2a14363a59b89ec05b8 (patch)
treeac1f51cca53d09b7b0175fd1d41fffbe8eb12a8e /synapse/storage
parentsynapse/storage/_base.py:_execute_and_decode was unused (diff)
downloadsynapse-3559a835a22be3ae474fc2a14363a59b89ec05b8.tar.xz
synapse/storage/event_federation.py:_get_auth_events is unused
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_federation.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index c1cabbaa60..7ed0d9ae1b 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -225,27 +225,6 @@ class EventFederationStore(SQLBaseStore):
 
         return results
 
-    def _get_auth_events(self, txn, event_id):
-        auth_ids = self._simple_select_onecol_txn(
-            txn,
-            table="event_auth",
-            keyvalues={
-                "event_id": event_id,
-            },
-            retcol="auth_id",
-        )
-
-        results = []
-        for auth_id in auth_ids:
-            hashes = self._get_event_reference_hashes_txn(txn, auth_id)
-            prev_hashes = {
-                k: encode_base64(v) for k, v in hashes.items()
-                if k == "sha256"
-            }
-            results.append((auth_id, prev_hashes))
-
-        return results
-
     def get_min_depth(self, room_id):
         """ For hte given room, get the minimum depth we have seen for it.
         """