summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-08-16 10:46:50 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-08-16 09:46:50 +0100
commit3f543dc021dd9456c8ed2da7a1e4769a68c07729 (patch)
treea95c6c0436fe5715ccc096aeeacdbc459bf451b8 /synapse/rest/client/v2_alpha
parentMerge pull request #3686 from matrix-org/rav/changelog_links_to_prs (diff)
downloadsynapse-3f543dc021dd9456c8ed2da7a1e4769a68c07729.tar.xz
initial cut at a room summary API (#3574)
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py1
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