Fix API endpoint paths

/v1 and /v2 has been consolidated to /r0; also, /api was removed.
This commit is contained in:
Gergely Polonkai 2016-01-29 15:39:20 +01:00
parent c95f093ace
commit def0f85086

View File

@ -49,8 +49,8 @@
* The MatrixHTTPAPI objects class definition. * The MatrixHTTPAPI objects class definition.
*/ */
#define API_ENDPOINT "/_matrix/client/api/v1/" #define API_ENDPOINT "/_matrix/client/r0/"
#define MEDIA_ENDPOINT "/_matrix/media/v1/" #define MEDIA_ENDPOINT "/_matrix/media/r0/"
typedef struct _MatrixHTTPAPIPrivate { typedef struct _MatrixHTTPAPIPrivate {
SoupSession *soup_session; SoupSession *soup_session;