mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 00:38:42 -04:00
Move typing notifs to an "emphermal" event list on the room object
This commit is contained in:
parent
cc42d3f907
commit
722b65f461
2 changed files with 9 additions and 7 deletions
|
@ -66,6 +66,7 @@ class SyncRestServlet(RestServlet):
|
|||
}
|
||||
"state": [] // list of EventIDs updating the current state to
|
||||
// be what it should be at the end of the batch.
|
||||
"ephemeral": []
|
||||
}]
|
||||
}
|
||||
"""
|
||||
|
@ -188,9 +189,8 @@ class SyncRestServlet(RestServlet):
|
|||
"state": state_event_ids,
|
||||
"limited": room.limited,
|
||||
"published": room.published,
|
||||
"ephemeral": room.ephemeral,
|
||||
}
|
||||
if room.typing is not None:
|
||||
result["typing"] = room.typing
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue