GitOrigin-RevId: 7a8640af6bb30c1f079c85ef01ccc70023992432
This commit is contained in:
levlam 2018-05-07 20:20:20 +03:00
parent c7cbecd2c1
commit 5effa0f662
2 changed files with 2 additions and 2 deletions

View File

@ -1897,7 +1897,7 @@ class MessagesManager : public Actor {
static constexpr bool DROP_UPDATES = false;
static bool MessagesManager::is_dialog_inited(const Dialog *d);
static bool is_dialog_inited(const Dialog *d);
void open_dialog(Dialog *d);

View File

@ -19,7 +19,7 @@ namespace td {
Promise<Unit> get_erase_logevent_promise(uint64 logevent_id, Promise<Unit> promise = Promise<Unit>()) {
if (logevent_id == 0) {
return std::move(promise);
return promise;
}
return PromiseCreator::lambda([logevent_id, promise = std::move(promise)](Result<Unit> result) mutable {