fix: delete message (#51)

https://github.com/status-im/status-desktop/issues/3632
This commit is contained in:
Anthony Laibe 2021-09-28 23:10:54 +02:00 committed by GitHub
parent 4a5094644f
commit b8c729b804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -363,8 +363,7 @@ proc sendImages*(self: ChatModel, chatId: string, images: var seq[string]) =
discard self.processMessageUpdateAfterSend(response) discard self.processMessageUpdateAfterSend(response)
proc deleteMessageAndSend*(self: ChatModel, messageId: string) = proc deleteMessageAndSend*(self: ChatModel, messageId: string) =
var response = status_chat.deleteMessageAndSend(messageId) discard status_chat.deleteMessageAndSend(messageId)
discard self.processMessageUpdateAfterSend(response)
proc sendSticker*(self: ChatModel, chatId: string, replyTo: string, sticker: Sticker) = proc sendSticker*(self: ChatModel, chatId: string, replyTo: string, sticker: Sticker) =
var response = status_chat.sendStickerMessage(chatId, replyTo, sticker) var response = status_chat.sendStickerMessage(chatId, replyTo, sticker)