diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 968272e8c7..7a5374f616 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -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();