Add count of one time keys to sync stream

This commit is contained in:
Erik Johnston 2017-05-19 15:47:55 +01:00
parent ab4ee2e524
commit b4f59c7e27
2 changed files with 12 additions and 0 deletions

View file

@ -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(),
}