Show info on forum top bar click.

This commit is contained in:
John Preston 2022-12-06 12:46:10 +04:00
parent 4937cea38f
commit 1be37a10b3
1 changed files with 2 additions and 1 deletions

View File

@ -671,7 +671,8 @@ void TopBarWidget::mousePressEvent(QMouseEvent *e) {
&& !_chooseForReportReason;
if (handleClick) {
if ((_animatingMode && _back->rect().contains(e->pos()))
|| (_activeChat.section == Section::ChatsList)) {
|| (_activeChat.section == Section::ChatsList
&& _activeChat.key.folder())) {
backClicked();
} else {
infoClicked();