mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Fixed back button when opening channels. Fixed profile buttons layout.
This commit is contained in:
@@ -1636,7 +1636,7 @@ void PeerOpenClickHandler::onClickImpl() const {
|
||||
if (!peer()->asChannel()->isPublic() && !peer()->asChannel()->amIn()) {
|
||||
Ui::showLayer(new InformBox(lang((peer()->isMegagroup()) ? lng_group_not_accessible : lng_channel_not_accessible)));
|
||||
} else {
|
||||
Ui::showPeerHistory(peer(), ShowAtUnreadMsgId);
|
||||
Ui::showPeerHistory(peer(), ShowAtUnreadMsgId, Ui::ShowWay::Forward);
|
||||
}
|
||||
} else {
|
||||
Ui::showPeerProfile(peer());
|
||||
|
Reference in New Issue
Block a user