summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/appservice/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py
index 30a114fcd1..1d7ba00c4a 100644
--- a/synapse/appservice/__init__.py
+++ b/synapse/appservice/__init__.py
@@ -257,7 +257,8 @@ class ApplicationService:
         """
         # Do cheap checks first
 
-        # Check if we're interested in this user by namespace
+        # Check if we're interested in this user by namespace (or if they're the
+        # sender_localpart user)
         if self.is_user_in_namespace(event.sender):
             return True