1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 3d3fcdabdb..d222644cb6 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -15,7 +15,7 @@
from twisted.internet import defer, reactor
-from synapse.util.logutils import log_function
+from synapse.util.logutils import log_function, trace_function
import logging
@@ -119,6 +119,7 @@ class Notifier(object):
)
@defer.inlineCallbacks
+ @trace_function
def on_new_user_event(self, users=[], rooms=[]):
""" Used to inform listeners that something has happend
presence/user event wise.
|