summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2018-06-27 16:04:33 +0100
committerWill Hunt <will@half-shot.uk>2018-06-27 16:04:33 +0100
commit2df75cec691c62ba27ef109d6e5f80663cb719e8 (patch)
treebaa7b05d83dfcd3ca4ea0f6215bdf4e3b3d727dd
parentMake flake happy (diff)
downloadsynapse-2df75cec691c62ba27ef109d6e5f80663cb719e8.tar.xz
event.event_id => event.sender
-rw-r--r--synapse/handlers/appservice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index bef2b899e9..ad827a3416 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -96,12 +96,12 @@ class ApplicationServicesHandler(object):
 
                     @defer.inlineCallbacks
                     def handle_event(event):
-                        ev_domain = get_domain_from_id(event.event_id)
+                        ev_domain = get_domain_from_id(event.sender)
                         if any(srv_re.match(ev_domain) is not None
                            for srv_re in self.server_blacklist):
                             logger.info(
                                 "Ignoring %s from %s, matches server blacklist",
-                                event.event_id,
+                                event.sender,
                                 ev_domain
                             )
                             return