Remove the hotfix-specific hack for auth on room_members
This reverts fae708c0e8.
We believe this to be unnecessary---other Synapse deployments do not
have this patch, and we are not aware of bridging problems as a result.
Related:
- https://github.com/matrix-org/matrix-appservice-irc/issues/506
- https://github.com/matrix-org/synapse/issues/4826
This commit is contained in:
@@ -339,9 +339,7 @@ class MessageHandler:
|
||||
# This can either be because the AS user is in the room or because there
|
||||
# is a user in the room that the AS is "interested in"
|
||||
if (
|
||||
False # See https://github.com/matrix-org/matrix-appservice-irc/issues/506
|
||||
# and https://github.com/matrix-org/synapse/issues/4826#issuecomment-1028105662
|
||||
and requester.app_service
|
||||
requester.app_service
|
||||
and requester.user.to_string() not in users_with_profile
|
||||
):
|
||||
for uid in users_with_profile:
|
||||
|
||||
Reference in New Issue
Block a user