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:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user