summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-05 13:59:04 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-05 13:59:04 +0100
commit03958693ce05bcbfad4857469eb3926cddb56871 (patch)
tree0f8403a22a3327ad0bed81cded754105925a325c
parentString concatenation without the '+' (diff)
downloadsynapse-03958693ce05bcbfad4857469eb3926cddb56871.tar.xz
Use underscores.
-rw-r--r--synapse/handlers/devicemessage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/devicemessage.py b/synapse/handlers/devicemessage.py
index 625b1b70af..424965368e 100644
--- a/synapse/handlers/devicemessage.py
+++ b/synapse/handlers/devicemessage.py
@@ -81,7 +81,7 @@ class DeviceMessageHandler(object):
 
     @defer.inlineCallbacks
     def send_device_message(self, sender_user_id, message_type, messages):
-        opentracing.set_tag("number of messages", len(messages))
+        opentracing.set_tag("number_of_messages", len(messages))
         opentracing.set_tag("sender", sender_user_id)
         local_messages = {}
         remote_messages = {}