From 8d70a3170a5f94d1fd4c7652627ae58462f3aed2 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Wed, 14 Aug 2019 17:39:56 +0100 Subject: [PATCH] Remove user_id tag --- synapse/api/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synapse/api/auth.py b/synapse/api/auth.py index df7804336d..3d094bac2a 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -179,7 +179,7 @@ class Auth(object): def get_public_keys(self, invite_event): return event_auth.get_public_keys(invite_event) - @opentracing.trace_deferred + @opentracing.trace @defer.inlineCallbacks def get_user_by_req( self, request, allow_guest=False, rights="access", allow_expired=False @@ -214,7 +214,6 @@ class Auth(object): 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 - opentracing.set_tag("user_id", user_id) if ip_addr and self.hs.config.track_appservice_user_ips: yield self.store.insert_client_ip(