Begin making auth use event.old_state_events

This commit is contained in:
Erik Johnston 2014-10-15 16:06:59 +01:00
parent 80472ac198
commit e7bc1291a0
10 changed files with 115 additions and 83 deletions

View file

@ -14,7 +14,7 @@
*/
CREATE TABLE IF NOT EXISTS state_groups(
id INTEGER PRIMARY KEY AUTOINCREMENT,
id INTEGER PRIMARY KEY,
room_id TEXT NOT NULL,
event_id TEXT NOT NULL
);

View file

@ -74,7 +74,7 @@ class StateStore(SQLBaseStore):
}
)
for state in event.state_events:
for state in event.state_events.values():
self._simple_insert_txn(
txn,
table="state_groups_state",