mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-20 15:04:20 -05:00
Use state_groups table to test existence
This commit is contained in:
parent
ed7a703d4c
commit
0cfd6c3161
@ -85,7 +85,7 @@ class StateStore(SQLBaseStore):
|
|||||||
|
|
||||||
def _have_persisted_state_group_txn(self, txn, state_group):
|
def _have_persisted_state_group_txn(self, txn, state_group):
|
||||||
txn.execute(
|
txn.execute(
|
||||||
"SELECT count(*) FROM state_groups_state WHERE state_group = ?",
|
"SELECT count(*) FROM state_groups WHERE id = ?",
|
||||||
(state_group,)
|
(state_group,)
|
||||||
)
|
)
|
||||||
row = txn.fetchone()
|
row = txn.fetchone()
|
||||||
|
Loading…
Reference in New Issue
Block a user