1
0

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:
David Robertson
2022-08-23 11:31:19 +01:00
parent 7c59528d54
commit 7ba0336010
+1 -3
View File
@@ -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: