Move public room call invite mitigations to filter_events_for_client
#17359
Labels
A-Sync
good first issue
This is a fix that might be an easy place for someone to start for their first contribution
T-Task
Z-Dev-Wishlist
This bit of code filters out call invite events in public rooms to prevent someone from being able to ring hundreds of people by sending a call event:
synapse/synapse/handlers/sync.py
Lines 934 to 941 in a023538
@MadLittleMods asks whether it can be moved to
filter_events_for_client
rather than its current spot in_load_filtered_recents
, so that the new native sliding sync implementation can utilise it (#16908 (comment)). Another alternative is tosoft_fail
the call invites.The text was updated successfully, but these errors were encountered: