mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
PR feedbackz
This commit is contained in:
parent
1b1c137771
commit
52f7e23c72
1 changed files with 2 additions and 3 deletions
|
@ -240,10 +240,9 @@ class StateGroupWorkerStore(SQLBaseStore):
|
||||||
(
|
(
|
||||||
"AND type = ? AND state_key = ?",
|
"AND type = ? AND state_key = ?",
|
||||||
(etype, state_key)
|
(etype, state_key)
|
||||||
) if state_key is not None else
|
) if state_key is not None else (
|
||||||
(
|
|
||||||
"AND type = ?",
|
"AND type = ?",
|
||||||
(etype)
|
(etype,)
|
||||||
)
|
)
|
||||||
for etype, state_key in types
|
for etype, state_key in types
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue