mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Replaced mapping to rpl::empty_value with rpl::to_empty.
This commit is contained in:
@@ -316,9 +316,7 @@ rpl::producer<> ScheduledMessages::updates(not_null<History*> history) {
|
||||
return _updates.events(
|
||||
) | rpl::filter([=](not_null<History*> value) {
|
||||
return (value == history);
|
||||
}) | rpl::map([] {
|
||||
return rpl::empty_value();
|
||||
});
|
||||
}) | rpl::to_empty;
|
||||
}
|
||||
|
||||
Data::MessagesSlice ScheduledMessages::list(not_null<History*> history) {
|
||||
|
Reference in New Issue
Block a user