2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-06 01:25:18 +00:00

Fix showing forum in a single-column layout.

This commit is contained in:
John Preston
2022-11-07 13:14:52 +04:00
parent 371ba40a50
commit bd8b90055e
2 changed files with 6 additions and 4 deletions

View File

@@ -983,6 +983,9 @@ void SessionController::openForum(
if (_openedForum.current() != forum) {
resetFakeUnreadWhileOpened();
}
if (forum && _activeChatEntry.current().key.peer()) {
clearSectionStack(params);
}
_openedForum = forum.get();
if (_openedForum.current() == forum) {
forum->forum()->destroyed(