diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 872e1f66c3..fac29bf72f 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -213,7 +213,7 @@ class Auth(object): request.authenticated_entity = user_id opentracing.set_tag("authenticated_entity", user_id) # there is at least one other place where authenticated entity is - # set. user_id is tagged in case authenticated_entity is clobbered + # set. if ip_addr and self.hs.config.track_appservice_user_ips: yield self.store.insert_client_ip(