diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-06 18:42:18 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-07 10:53:38 +0000 |
commit | bf6b72eb558cca94e209a541188079750bfefea0 (patch) | |
tree | a464449f4859cf0dabe262a97e12ff126ab6f703 /synapse/storage/_base.py | |
parent | Neaten things up a bit (diff) | |
download | synapse-bf6b72eb558cca94e209a541188079750bfefea0.tar.xz |
Start implementing auth chains
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 7821fc4726..9aa404695d 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -474,6 +474,8 @@ class SQLBaseStore(object): if is_state == 0 ] + ev.auth_events = self._get_auth_events(txn, ev.event_id) + if hasattr(ev, "state_key"): ev.prev_state = [ (e_id, h) |