summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-19 15:47:55 +0100
committerErik Johnston <erik@matrix.org>2017-05-19 15:47:55 +0100
commitb4f59c7e27cf9d736e2806e1bab9ae60ae1f7c06 (patch)
tree689e7bea02ec36a62b2f8e7aaa351717728d01f4 /synapse/rest/client/v2_alpha
parentMerge pull request #2236 from matrix-org/erikj/invalidation (diff)
downloadsynapse-b4f59c7e27cf9d736e2806e1bab9ae60ae1f7c06.tar.xz
Add count of one time keys to sync stream
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 771e127ab9..83e209d18f 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -192,6 +192,7 @@ class SyncRestServlet(RestServlet):
                 "invite": invited,
                 "leave": archived,
             },
+            "device_one_time_keys_count": sync_result.device_one_time_keys_count,
             "next_batch": sync_result.next_batch.to_string(),
         }