mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix go to original button in Pinned section.
This commit is contained in:
@@ -2203,7 +2203,8 @@ bool Message::displayFastReply() const {
|
||||
}
|
||||
|
||||
bool Message::displayRightActionComments() const {
|
||||
return data()->repliesAreComments()
|
||||
return !isPinnedContext()
|
||||
&& data()->repliesAreComments()
|
||||
&& media()
|
||||
&& media()->isDisplayed()
|
||||
&& !hasBubble();
|
||||
|
@@ -1423,7 +1423,7 @@ void MainWidget::ui_showPeerHistory(
|
||||
if (const auto activeChat = _controller->activeChatCurrent()) {
|
||||
if (const auto peer = activeChat.peer()) {
|
||||
if (way == Way::Forward && peer->id == peerId) {
|
||||
way = Way::ClearStack;
|
||||
way = _mainSection ? Way::Backward : Way::ClearStack;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Submodule Telegram/lib_ui updated: 109375453e...54a8c62bf5
Reference in New Issue
Block a user