mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 02:50:36 +00:00
Renamed rpl::start_with_ with rpl::on_.
This commit is contained in:
@@ -124,7 +124,7 @@ Folder::Folder(not_null<Session*> owner, FolderId id)
|
||||
PeerUpdate::Flag::Name
|
||||
) | rpl::filter([=](const PeerUpdate &update) {
|
||||
return ranges::contains(_lastHistories, update.peer, &History::peer);
|
||||
}) | rpl::start_with_next([=] {
|
||||
}) | rpl::on_next([=] {
|
||||
++_chatListViewVersion;
|
||||
updateChatListEntryPostponed();
|
||||
}, _lifetime);
|
||||
@@ -134,13 +134,13 @@ Folder::Folder(not_null<Session*> owner, FolderId id)
|
||||
_chatsList.unreadStateChanges(
|
||||
) | rpl::filter([=] {
|
||||
return inChatList();
|
||||
}) | rpl::start_with_next([=](const Dialogs::UnreadState &old) {
|
||||
}) | rpl::on_next([=](const Dialogs::UnreadState &old) {
|
||||
++_chatListViewVersion;
|
||||
notifyUnreadStateChange(old);
|
||||
}, _lifetime);
|
||||
|
||||
_chatsList.fullSize().changes(
|
||||
) | rpl::start_with_next([=] {
|
||||
) | rpl::on_next([=] {
|
||||
updateChatListEntryPostponed();
|
||||
}, _lifetime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user