Monor fixes.

GitOrigin-RevId: 54ffc796bf71a9337476e2d2c43b3b83da53487a
This commit is contained in:
levlam 2020-02-26 17:42:56 +03:00
parent 24e2dcd590
commit c3f802f55f
2 changed files with 3 additions and 3 deletions

View File

@ -781,7 +781,7 @@ vector<string> CallActor::get_emojis_fingerprint(const string &key, const string
vector<string> result;
result.reserve(4);
for (int i = 0; i < 4; i++) {
uint64 num = bswap64(as<td::uint64>(sha256_buf + 8 * i));
uint64 num = bswap64(as<uint64>(sha256_buf + 8 * i));
result.push_back(get_emoji_fingerprint(num));
}
return result;

View File

@ -22818,7 +22818,7 @@ void MessagesManager::send_update_chat_has_scheduled_messages(Dialog *d) {
set_dialog_has_scheduled_database_messages_impl(d, false);
}
LOG(INFO) << "Have sheduled messages on server = " << d->has_scheduled_server_messages
LOG(INFO) << "Have scheduled messages on server = " << d->has_scheduled_server_messages
<< ", in database = " << d->has_scheduled_database_messages
<< " and in memory = " << (d->scheduled_messages != nullptr);
bool has_scheduled_messages =
@ -23660,7 +23660,7 @@ void MessagesManager::repair_dialog_scheduled_messages(DialogId dialog_id) {
}
// TODO create logevent
LOG(INFO) << "Repair sheduled messages in " << dialog_id;
LOG(INFO) << "Repair scheduled messages in " << dialog_id;
get_dialog_scheduled_messages(dialog_id, PromiseCreator::lambda([actor_id = actor_id(this), dialog_id](Unit) {
send_closure(G()->messages_manager(), &MessagesManager::get_dialog_scheduled_messages,
dialog_id, Promise<Unit>());