Fix go to original button in outgoing albums.
This commit is contained in:
parent
c35b6e1209
commit
324affb8b9
|
@ -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>()) {
|
||||
|
|
Loading…
Reference in New Issue