Fix a crash that would occur if it was not dead code

This commit is contained in:
Benoit Marty 2020-08-27 22:46:30 +02:00
parent 9dbe9c7286
commit d3f50ee6c3
1 changed files with 2 additions and 2 deletions

View File

@ -220,9 +220,9 @@ internal interface RoomAPI {
*/
@POST(NetworkConstants.URI_API_PREFIX_PATH_R0 + "rooms/{roomId}/send_relation/{parent_id}/{relation_type}/{event_type}")
fun sendRelation(@Path("roomId") roomId: String,
@Path("parentId") parent_id: String,
@Path("parent_id") parent_id: String,
@Path("relation_type") relationType: String,
@Path("eventType") eventType: String,
@Path("event_type") eventType: String,
@Body content: Content?
): Call<SendResponse>