summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-24 11:33:32 +0100
committerDavid Baker <dave@matrix.org>2016-05-24 11:33:32 +0100
commit37b7e846200f00a36c6084d426ab73ee5d0e0218 (patch)
treeb99112ad5756cd98693549df1f26aecce2faad77 /synapse/rest/client/v2_alpha
parentActually make the 'read' flag correct (diff)
downloadsynapse-37b7e846200f00a36c6084d426ab73ee5d0e0218.tar.xz
Include the ts the notif was received at
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/notifications.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/notifications.py b/synapse/rest/client/v2_alpha/notifications.py
index 9600256962..4d84230e68 100644
--- a/synapse/rest/client/v2_alpha/notifications.py
+++ b/synapse/rest/client/v2_alpha/notifications.py
@@ -68,6 +68,7 @@ class NotificationsServlet(RestServlet):
                 "room_id": pa["room_id"],
                 "profile_tag": pa["profile_tag"],
                 "actions": pa["actions"],
+                "ts": pa["received_ts"],
                 "event": serialize_event(
                     notif_events[pa["event_id"]],
                     self.clock.time_msec(),