mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
update wording
This commit is contained in:
parent
103f72929a
commit
903fcd2d35
1 changed files with 3 additions and 2 deletions
|
@ -835,8 +835,9 @@ class EventCreationHandler:
|
|||
ShadowBanError if the requester has been shadow-banned.
|
||||
"""
|
||||
|
||||
# we don't apply shadow-banning to membership events, so that the user
|
||||
# can come and go as they want.
|
||||
# we don't apply shadow-banning to membership events here. Invites are blocked
|
||||
# higher up the stack, and we allow shadow-banned users to send join and leave
|
||||
# events as normal.
|
||||
if (
|
||||
event.type != EventTypes.Member
|
||||
and not ignore_shadow_ban
|
||||
|
|
Loading…
Reference in a new issue