Send an empty body for POST rooms/{roomId}/receipt/{receiptType}/{eventId}

This commit is contained in:
Benoit Marty 2021-08-23 16:49:45 +02:00
parent 8a38f1ca04
commit c301bcf4b6
2 changed files with 3 additions and 1 deletions

1
changelog.d/3789.bugfix Normal file
View File

@ -0,0 +1 @@
Send an empty body for POST rooms/{roomId}/receipt/{receiptType}/{eventId}

View File

@ -159,7 +159,8 @@ internal interface RoomAPI {
@POST(NetworkConstants.URI_API_PREFIX_PATH_R0 + "rooms/{roomId}/receipt/{receiptType}/{eventId}")
suspend fun sendReceipt(@Path("roomId") roomId: String,
@Path("receiptType") receiptType: String,
@Path("eventId") eventId: String)
@Path("eventId") eventId: String,
@Body body: JsonDict = emptyMap())
/**
* Invite a user to the given room.