mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix(ChatContentView): make replying to messages work again
There was a bug that no handler was attached to the `onShowReply()` signal, which is necessary to hydrate the chat input with reply data. Fixes #5497
This commit is contained in:
parent
1b7be6060d
commit
c772a31114
@ -372,6 +372,13 @@ ColumnLayout {
|
||||
Global.changeAppSectionBySectionType(Constants.appSection.chat)
|
||||
root.rootStore.chatCommunitySectionModule.createOneToOneChat("", chatId, ensName)
|
||||
}
|
||||
onShowReplyArea: {
|
||||
let obj = messageStore.getMessageByIdAsJson(messageId)
|
||||
if (!obj) {
|
||||
return
|
||||
}
|
||||
chatInput.showReplyArea(messageId, obj.senderDisplayName, obj.messageText, obj.senderIcon, obj.contentType, obj.messageImage, obj.sticker)
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
Loading…
x
Reference in New Issue
Block a user