initial cut at a room summary API (#3574)

This commit is contained in:
Matthew Hodgson 2018-08-16 10:46:50 +02:00 committed by Richard van der Hoff
parent 859989f958
commit 3f543dc021
6 changed files with 159 additions and 18 deletions

View file

@ -370,6 +370,7 @@ class SyncRestServlet(RestServlet):
ephemeral_events = room.ephemeral
result["ephemeral"] = {"events": ephemeral_events}
result["unread_notifications"] = room.unread_notifications
result["summary"] = room.summary
return result