Fix go to original button in outgoing albums.

This commit is contained in:
John Preston 2020-10-29 20:04:18 +03:00
parent c35b6e1209
commit 324affb8b9
1 changed files with 1 additions and 1 deletions

View File

@ -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<HistoryMessageForwarded>()) {