Remove unused variable.
GitOrigin-RevId: 82b19ad7cbc3ef47e88e593919274d820ec77e3b
This commit is contained in:
parent
9f82e847f3
commit
5e0df6f352
@ -25990,7 +25990,6 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
|||||||
}
|
}
|
||||||
MessageId added_pinned_message_id; // TODO remove
|
MessageId added_pinned_message_id; // TODO remove
|
||||||
MessageId preloaded_pinned_message_id; // TODO remove
|
MessageId preloaded_pinned_message_id; // TODO remove
|
||||||
const char *add_error_reason = "";
|
|
||||||
if (*need_update) {
|
if (*need_update) {
|
||||||
auto pinned_message_id = get_message_content_pinned_message_id(message->content.get());
|
auto pinned_message_id = get_message_content_pinned_message_id(message->content.get());
|
||||||
added_pinned_message_id = pinned_message_id;
|
added_pinned_message_id = pinned_message_id;
|
||||||
@ -25998,7 +25997,6 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
|||||||
preloaded_pinned_message_id = pinned_message_id;
|
preloaded_pinned_message_id = pinned_message_id;
|
||||||
LOG(INFO) << "Preloaded pinned " << pinned_message_id << " from database";
|
LOG(INFO) << "Preloaded pinned " << pinned_message_id << " from database";
|
||||||
}
|
}
|
||||||
add_error_reason = debug_add_message_to_dialog_fail_reason_;
|
|
||||||
|
|
||||||
if (d->pinned_message_notification_message_id.is_valid() &&
|
if (d->pinned_message_notification_message_id.is_valid() &&
|
||||||
have_message_force({dialog_id, d->pinned_message_notification_message_id},
|
have_message_force({dialog_id, d->pinned_message_notification_message_id},
|
||||||
|
Loading…
Reference in New Issue
Block a user