Pass source as pointer to on_update_message_id.
This commit is contained in:
parent
367b2af164
commit
844e6f2bfb
@ -28615,7 +28615,7 @@ void MessagesManager::on_imported_message_attachments_uploaded(int64 random_id,
|
||||
td_->create_handler<StartImportHistoryQuery>(std::move(promise))->send(dialog_id, pending_message_import->import_id);
|
||||
}
|
||||
|
||||
bool MessagesManager::on_update_message_id(int64 random_id, MessageId new_message_id, const string &source) {
|
||||
bool MessagesManager::on_update_message_id(int64 random_id, MessageId new_message_id, const char *source) {
|
||||
if (!new_message_id.is_valid() && !new_message_id.is_valid_scheduled()) {
|
||||
LOG(ERROR) << "Receive " << new_message_id << " in updateMessageId with random_id " << random_id << " from "
|
||||
<< source;
|
||||
|
@ -262,7 +262,7 @@ class MessagesManager final : public Actor {
|
||||
void on_get_common_dialogs(UserId user_id, int64 offset_chat_id, vector<tl_object_ptr<telegram_api::Chat>> &&chats,
|
||||
int32 total_count);
|
||||
|
||||
bool on_update_message_id(int64 random_id, MessageId new_message_id, const string &source);
|
||||
bool on_update_message_id(int64 random_id, MessageId new_message_id, const char *source);
|
||||
|
||||
void on_update_dialog_draft_message(DialogId dialog_id, MessageId top_thread_message_id,
|
||||
tl_object_ptr<telegram_api::DraftMessage> &&draft_message);
|
||||
|
Loading…
Reference in New Issue
Block a user