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
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
* The MatrixHTTPAPI objects 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;