summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/typing.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index 46a0b299a1..253fec514d 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -223,7 +223,9 @@ class TypingNotificationEventSource(object):
         return {
             "type": "m.typing",
             "room_id": room_id,
-            "typing": [u.to_string() for u in typing],
+            "content": {
+                "user_ids": [u.to_string() for u in typing],
+            },
         }
 
     def get_new_events_for_user(self, user, from_key, limit):