mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 18:30:44 -05:00
Begin making auth use event.old_state_events
This commit is contained in:
parent
80472ac198
commit
e7bc1291a0
10 changed files with 115 additions and 83 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue