Use rpl::empty instead of rpl::empty_value().

This commit is contained in:
John Preston
2022-03-11 09:55:21 +04:00
parent 437fe4ba82
commit 32d09f189b
33 changed files with 57 additions and 119 deletions
@@ -211,9 +211,7 @@ rpl::producer<SparseIdsMergedSlice> SharedScheduledMediaViewer(
const auto history = session->data().history(key.mergedKey.peerId);
return rpl::single(
rpl::empty_value()
) | rpl::then(
return rpl::single(rpl::empty) | rpl::then(
session->data().scheduledMessages().updates(history)
) | rpl::map([=] {
const auto list = session->data().scheduledMessages().list(history);