0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 20:43:52 +01:00

update wording

This commit is contained in:
Richard van der Hoff 2020-10-07 11:28:05 +01:00
parent 103f72929a
commit 903fcd2d35

View file

@ -835,8 +835,9 @@ class EventCreationHandler:
ShadowBanError if the requester has been shadow-banned. ShadowBanError if the requester has been shadow-banned.
""" """
# we don't apply shadow-banning to membership events, so that the user # we don't apply shadow-banning to membership events here. Invites are blocked
# can come and go as they want. # higher up the stack, and we allow shadow-banned users to send join and leave
# events as normal.
if ( if (
event.type != EventTypes.Member event.type != EventTypes.Member
and not ignore_shadow_ban and not ignore_shadow_ban