1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2025-01-31 18:02:46 +01:00

Fix message deleting (#875)

This commit is contained in:
Mikołaj Pich 2020-06-10 16:26:45 +02:00 committed by GitHub
parent 2d0cfc3e8e
commit 522a36d670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,6 @@ class MessageRemote @Inject constructor(private val sdk: Sdk) {
}
fun deleteMessage(student: Student, message: Message): Single<Boolean> {
return sdk.init(student).deleteMessages(listOf(Pair(message.realId, message.folderId)))
return sdk.init(student).deleteMessages(listOf(message.messageId to message.folderId))
}
}