mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
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:
parent
0b70023373
commit
b0bb1756a9
3 changed files with 21 additions and 7 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue