Fix CE.
GitOrigin-RevId: 7a8640af6bb30c1f079c85ef01ccc70023992432
This commit is contained in:
parent
c7cbecd2c1
commit
5effa0f662
@ -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);
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user