From 324affb8b9de71bdf1de3b42970cdbfd2a8e95fe Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 29 Oct 2020 20:04:18 +0300 Subject: [PATCH] Fix go to original button in outgoing albums. --- Telegram/SourceFiles/history/view/history_view_message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 5a7aa8f2c..9bd066e29 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -2251,7 +2251,7 @@ bool Message::displayFastShare() const { bool Message::displayGoToOriginal() const { if (context() == Context::Pinned) { - return true; + return !hasOutLayout(); } const auto item = message(); if (const auto forwarded = item->Get()) {