Move typing notifs to an "emphermal" event list on the room object

This commit is contained in:
Mark Haines 2015-01-29 16:41:21 +00:00
parent cc42d3f907
commit 722b65f461
2 changed files with 9 additions and 7 deletions

View file

@ -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