diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-31 10:47:34 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-31 10:47:34 +0000 |
commit | 21fe249d62deafceca05cc114d5d6bec3e815b8c (patch) | |
tree | f7f24bbda7e6df1a12da0324639720a9d5eea20f /synapse/storage | |
parent | old_state_events should be a dict not list (diff) | |
download | synapse-21fe249d62deafceca05cc114d5d6bec3e815b8c.tar.xz |
Actually don't store any PDUs
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/event_federation.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 438b42c1da..8357071db6 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -78,6 +78,13 @@ class EventFederationStore(SQLBaseStore): return results + def get_min_depth(self, room_id): + return self.runInteraction( + "get_min_depth", + self._get_min_depth_interaction, + room_id, + ) + def _get_min_depth_interaction(self, txn, room_id): min_depth = self._simple_select_one_onecol_txn( txn, |