Trying to get missing sent messages from server.
GitOrigin-RevId: 64ab8c7b8302024e0230977e624711f88c21ab4f
This commit is contained in:
parent
9ea321b252
commit
5c2c8a1844
@ -6587,6 +6587,15 @@ void MessagesManager::after_get_difference() {
|
|||||||
if (dialog_id.get_type() != DialogType::Channel) {
|
if (dialog_id.get_type() != DialogType::Channel) {
|
||||||
dump_debug_message_op(get_dialog(dialog_id));
|
dump_debug_message_op(get_dialog(dialog_id));
|
||||||
}
|
}
|
||||||
|
get_messages_from_server(
|
||||||
|
{it.first}, PromiseCreator::lambda([this, full_message_id = it.first](Result<Unit> result) {
|
||||||
|
if (result.is_error()) {
|
||||||
|
LOG(WARNING) << "Failed to get missing " << full_message_id << ": " << result.error();
|
||||||
|
} else {
|
||||||
|
LOG(WARNING) << "Successfully get missing " << full_message_id << ": "
|
||||||
|
<< to_string(get_message_object(full_message_id));
|
||||||
|
}
|
||||||
|
}));
|
||||||
break;
|
break;
|
||||||
case DialogType::SecretChat:
|
case DialogType::SecretChat:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user