fix: delete message

https://github.com/status-im/status-desktop/issues/3632
This commit is contained in:
Anthony Laibe 2021-09-24 10:24:50 +02:00
parent 38a405b1c1
commit d2ba049418
1 changed files with 1 additions and 2 deletions

View File

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