diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-12-09 18:36:31 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2021-12-09 18:36:31 +0000 |
commit | 8e8ba360c903b2c9951a9432e8c3773c31a69175 (patch) | |
tree | 9c674a477bbb7050624455826a288de414baae06 | |
parent | fix tests for device lists (diff) | |
download | synapse-8e8ba360c903b2c9951a9432e8c3773c31a69175.tar.xz |
Squash into "and use everywhere"
-rw-r--r-- | synapse/appservice/__init__.py | 3 |
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 |