Skip to content
Snippets Groups Projects
Unverified Commit ed9aea42 authored by Shay's avatar Shay Committed by GitHub
Browse files

fix misleading comment in `check_events_for_spam` (#12203)

parent 72e7f1c4
No related branches found
No related tags found
No related merge requests found
Fix a misleading comment in the function `check_event_for_spam`.
......@@ -245,8 +245,8 @@ class SpamChecker:
"""Checks if a given event is considered "spammy" by this server.
If the server considers an event spammy, then it will be rejected if
sent by a local user. If it is sent by a user on another server, then
users receive a blank event.
sent by a local user. If it is sent by a user on another server, the
event is soft-failed.
Args:
event: the event to be checked
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment