Fixed back button when opening channels. Fixed profile buttons layout.

This commit is contained in:
John Preston
2016-09-01 21:37:30 -04:00
parent be02ef563c
commit 263448bfb2
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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());