summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-02-08 12:57:17 +0000
committerGitHub <noreply@github.com>2022-02-08 12:57:17 +0000
commited2f158a380e31429759521883de95ee5cbc25bb (patch)
tree5eddc8b1da11c198f928c15ad4a855fcc577a41c /synapse/handlers
parentHotfixes: Revert `commit()` OpenTracing hackery (#11906) (diff)
downloadsynapse-ed2f158a380e31429759521883de95ee5cbc25bb.tar.xz
Printf debugging for MSISDN validation (#11882)
This makes some attempt to keep CI happy too, but it probably ought not to.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 4411d901ac..8f44af2d92 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -277,8 +277,8 @@ class MessageHandler:
         # If this is an AS, double check that they are allowed to see the members.
         # 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 and requester.app_service and user_id not in users_with_profile:
-            for uid in users_with_profile:
+        if False and requester.app_service and user_id not in users_with_profile:  # type: ignore[unreachable]
+            for uid in users_with_profile:  # type: ignore[unreachable]
                 if requester.app_service.is_interested_in_user(uid):
                     break
             else: