mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Use stable endpoint for alias management
This increases compatibility with homeservers and allows them to remove Element Android specific workaround. fixes #4830 see https://github.com/ruma/ruma/pull/936 see https://github.com/matrix-org/synapse/issues/8334 see https://github.com/matrix-org/synapse/pull/9224 Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
This commit is contained in:
parent
88d2853a31
commit
0c3ea4f923
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ internal interface RoomAPI {
|
|||
* Get a list of aliases maintained by the local server for the given room.
|
||||
* Ref: https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-rooms-roomid-aliases
|
||||
*/
|
||||
@GET(NetworkConstants.URI_API_PREFIX_PATH_UNSTABLE + "org.matrix.msc2432/rooms/{roomId}/aliases")
|
||||
@GET(NetworkConstants.URI_API_PREFIX_PATH_R0 + "rooms/{roomId}/aliases")
|
||||
suspend fun getAliases(@Path("roomId") roomId: String): GetAliasesResponse
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue