From dc1edfc9f4d12aea30908622059f4d7b06517d80 Mon Sep 17 00:00:00 2001 From: Andrey Bocharnikov Date: Wed, 1 May 2024 13:51:27 +0700 Subject: [PATCH] fix(chat_section): fix preview for pinned messages with images/stickers (#13684) (#14549) * Add preparedMessageByID function * fix warning --- ui/imports/shared/views/chat/MessageView.qml | 4 +++- vendor/status-go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/imports/shared/views/chat/MessageView.qml b/ui/imports/shared/views/chat/MessageView.qml index 3b5975dd50..159551349b 100644 --- a/ui/imports/shared/views/chat/MessageView.qml +++ b/ui/imports/shared/views/chat/MessageView.qml @@ -206,7 +206,9 @@ Loader { function startMessageFoundAnimation() { - root.item.startMessageFoundAnimation(); + if (root.active && root.item.startMessageFoundAnimation) { + root.item.startMessageFoundAnimation() + } } signal openStickerPackPopup(string stickerPackId) diff --git a/vendor/status-go b/vendor/status-go index 11dc6976bd..2fb6d615fd 160000 --- a/vendor/status-go +++ b/vendor/status-go @@ -1 +1 @@ -Subproject commit 11dc6976bdadd9c80ddcbc6897e647c5246b7ab7 +Subproject commit 2fb6d615fd39ce8500ace8c26332f7ca3c127276