Merge pull request #3881 from vector-im/feature/bma/requiredBody

Send an empty body for POST rooms/{roomId}/receipt/{receiptType}/{eve…
This commit is contained in:
Benoit Marty 2021-08-23 21:11:21 +02:00 committed by GitHub
commit b4979e0bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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.