From c5247ddc0be576a4dab1f523ae48b151a48e6f6f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sun, 16 Sep 2018 02:25:17 -0600 Subject: [PATCH] Support appservice r0 spec --- src/api/matrix/MatrixAppServiceApiService.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/api/matrix/MatrixAppServiceApiService.ts b/src/api/matrix/MatrixAppServiceApiService.ts index b232fae..aacde01 100644 --- a/src/api/matrix/MatrixAppServiceApiService.ts +++ b/src/api/matrix/MatrixAppServiceApiService.ts @@ -11,11 +11,8 @@ interface AppServiceTransaction { /** * API for handling appservice traffic from a homeserver */ -// Note: There's no actual defined prefix for this API. The following was chosen to be -// somewhat consistent with the other matrix APIs. In reality, the homeserver will just -// hit the URL given in the registration - be sure to define it to match this prefix. -// Eg: `url: "http://localhost:8184/_matrix/appservice/r0"` @Path("/_matrix/appservice/r0") +@Path("/_matrix/app/v1") // the matrix spec version export class MatrixAppServiceApiService { @PUT