diff options
author | David Baker <dave@matrix.org> | 2016-05-24 11:33:32 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-05-24 11:33:32 +0100 |
commit | 37b7e846200f00a36c6084d426ab73ee5d0e0218 (patch) | |
tree | b99112ad5756cd98693549df1f26aecce2faad77 /synapse/rest | |
parent | Actually make the 'read' flag correct (diff) | |
download | synapse-37b7e846200f00a36c6084d426ab73ee5d0e0218.tar.xz |
Include the ts the notif was received at
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/notifications.py | 1 |
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(), |