mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-09 17:02:10 -04:00
Merge remote-tracking branch 'upstream/release-v1.69'
This commit is contained in:
commit
4b94513ae4
191 changed files with 10356 additions and 2903 deletions
|
@ -167,6 +167,10 @@ async def filter_event_for_clients_with_state(
|
|||
if event.internal_metadata.is_soft_failed():
|
||||
return []
|
||||
|
||||
# Fast path if we don't have any user IDs to check.
|
||||
if not user_ids:
|
||||
return ()
|
||||
|
||||
# Make a set for all user IDs that haven't been filtered out by a check.
|
||||
allowed_user_ids = set(user_ids)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue