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

Notify about feed channels list changes.

This commit is contained in:
John Preston
2018-01-29 16:52:09 +03:00
parent 3a5a002be2
commit 366ea1edc3
8 changed files with 87 additions and 8 deletions

View File

@@ -142,6 +142,12 @@ DialogsInner::DialogsInner(QWidget *parent, not_null<Window::Controller*> contro
}
}
}));
Auth().data().feedUpdated(
) | rpl::start_with_next([=](const Data::FeedUpdate &update) {
updateDialogRow(
Dialogs::RowDescriptor(update.feed, MsgId(0)),
QRect(0, 0, getFullWidth(), st::dialogsRowHeight));
}, lifetime());
_controller->activeChatEntryValue(
) | rpl::combine_previous(