Fix API endpoint paths
/v1 and /v2 has been consolidated to /r0; also, /api was removed.
This commit is contained in:
parent
c95f093ace
commit
def0f85086
@ -49,8 +49,8 @@
|
|||||||
* The MatrixHTTPAPI object’s class definition.
|
* The MatrixHTTPAPI object’s 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user