aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-api.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2017-09-03 03:13:54 +0100
committerDr. David Alan Gilbert <dave@treblig.org>2018-02-25 02:08:49 +0000
commit1527d398362c082c7b2fabefb4d2446e1567b522 (patch)
tree0698a29f8a70e9aed6403d31444ff67cfa6ce9da /matrix-api.c
parent4da49463f2910f8d0a84f6979475af4a11ef3189 (diff)
downloadpurple-matrix-1527d398362c082c7b2fabefb4d2446e1567b522.tar.gz
e2e: Route key count from sync
Route the count of remaining one time keys out of the sync result. We need the newer (v2?) API for this. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'matrix-api.c')
-rw-r--r--matrix-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-api.c b/matrix-api.c
index 0d593e1..2848cf5 100644
--- a/matrix-api.c
+++ b/matrix-api.c
@@ -652,7 +652,7 @@ MatrixApiRequestData *matrix_api_sync(MatrixConnectionData *conn,
url = g_string_new(conn->homeserver);
g_string_append_printf(url,
- "_matrix/client/r0/sync?access_token=%s&timeout=%i",
+ "_matrix/client/unstable/sync?access_token=%s&timeout=%i",
purple_url_encode(conn->access_token), timeout);
if(since != NULL)