From def0f85086ae8677cd49a493457b940d71967030 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 29 Jan 2016 15:39:20 +0100 Subject: [PATCH] Fix API endpoint paths /v1 and /v2 has been consolidated to /r0; also, /api was removed. --- src/matrix-http-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix-http-api.c b/src/matrix-http-api.c index 3db0125..cbd0419 100644 --- a/src/matrix-http-api.c +++ b/src/matrix-http-api.c @@ -49,8 +49,8 @@ * The MatrixHTTPAPI object’s class definition. */ -#define API_ENDPOINT "/_matrix/client/api/v1/" -#define MEDIA_ENDPOINT "/_matrix/media/v1/" +#define API_ENDPOINT "/_matrix/client/r0/" +#define MEDIA_ENDPOINT "/_matrix/media/r0/" typedef struct _MatrixHTTPAPIPrivate { SoupSession *soup_session;