mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 08:42:01 +00:00
consider non-filter_type types as wildcards, thus missing from the state-group-cache
This commit is contained in:
parent
eb1d911ab7
commit
e22700c3dd
@ -518,7 +518,10 @@ class StateGroupWorkerStore(SQLBaseStore):
|
||||
for typ, state_key in types:
|
||||
key = (typ, state_key)
|
||||
|
||||
if state_key is None:
|
||||
if (
|
||||
state_key is None or
|
||||
filtered_types is not None and typ not in filtered_types
|
||||
):
|
||||
type_to_key[typ] = None
|
||||
# we mark the type as missing from the cache because
|
||||
# when the cache was populated it might have been done with a
|
||||
|
Loading…
Reference in New Issue
Block a user