2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +00:00

Allow opening forums from archive / filters.

This commit is contained in:
John Preston
2022-10-19 16:09:45 +04:00
parent 7cdf20a7c5
commit a292f8a34e
4 changed files with 37 additions and 19 deletions

View File

@@ -895,8 +895,6 @@ void SessionController::openForum(
if (_openedForum.current() != forum) {
resetFakeUnreadWhileOpened();
}
setActiveChatsFilter(0, params);
closeFolder();
_openedForum = forum.get();
if (_openedForum.current() == forum) {
forum->forum()->destroyed(
@@ -1658,6 +1656,7 @@ void SessionController::setActiveChatsFilter(
}
_activeChatsFilter.force_assign(id);
if (id) {
closeForum();
closeFolder();
}
if (adaptive().isOneColumn()) {