diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-12-12 11:59:46 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-12-12 11:59:46 +0000 |
commit | b0bb1756a9a85f476c6ebd03a7e78ad5f403311c (patch) | |
tree | b74ea3310015bdeb5dc57fb8ff636fe831fa5bc3 /tests/rest | |
parent | Merge branch 'develop' into typing_notifications (diff) | |
download | synapse-b0bb1756a9a85f476c6ebd03a7e78ad5f403311c.tar.xz |
Send list of typing user IDs as 'user_ids' list within 'content', so that m.typing stream events have a toplevel content, for consistency with others
Diffstat (limited to 'tests/rest')
-rw-r--r-- | tests/rest/test_typing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/test_typing.py b/tests/rest/test_typing.py index 0b95d70718..c550294d59 100644 --- a/tests/rest/test_typing.py +++ b/tests/rest/test_typing.py @@ -100,7 +100,9 @@ class RoomTypingTestCase(RestTestCase): [ {"type": "m.typing", "room_id": self.room_id, - "typing": [self.user_id]}, + "content": { + "user_ids": [self.user_id], + }}, ] ) |