diff options
author | Matthew Hodgson <matthew@arasphere.net> | 2018-08-16 10:46:50 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-08-16 09:46:50 +0100 |
commit | 3f543dc021dd9456c8ed2da7a1e4769a68c07729 (patch) | |
tree | a95c6c0436fe5715ccc096aeeacdbc459bf451b8 /synapse/rest/client/v2_alpha/sync.py | |
parent | Merge pull request #3686 from matrix-org/rav/changelog_links_to_prs (diff) | |
download | synapse-3f543dc021dd9456c8ed2da7a1e4769a68c07729.tar.xz |
initial cut at a room summary API (#3574)
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index 8aa06faf23..1275baa1ba 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -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 |