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

This commit is contained in:
Paul "LeoNerd" Evans 2014-12-12 11:59:46 +00:00
parent 0b70023373
commit b0bb1756a9
3 changed files with 21 additions and 7 deletions

View file

@ -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],
}},
]
)