2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Topics list in forum chats list entry.

This commit is contained in:
John Preston
2022-11-11 13:24:37 +04:00
parent 996b6bf46a
commit 4c8187f623
15 changed files with 395 additions and 97 deletions

View File

@@ -3011,6 +3011,11 @@ void History::forumChanged(Data::Forum *old) {
}) | rpl::start_with_next([=](const Dialogs::UnreadState &old) {
notifyUnreadStateChange(old);
}, forum->lifetime());
forum->chatsListChanges(
) | rpl::start_with_next([=] {
updateChatListEntry();
}, forum->lifetime());
} else {
_flags &= ~Flag::IsForum;
}