mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 21:22:02 +00:00
PR feedbackz
This commit is contained in:
parent
1b1c137771
commit
52f7e23c72
@ -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 New Issue
Block a user