mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-25 18:03:55 +00:00
Improve error message.
This commit is contained in:
parent
9f5b2fa537
commit
fcb1814a0c
@ -11774,7 +11774,9 @@ void Client::drop_internal_reply_to_message_in_another_chat(object_ptr<td_api::m
|
||||
auto reply_in_chat_id = reply_to->chat_id_;
|
||||
if (reply_in_chat_id != message->chat_id_ && reply_to->origin_ == nullptr) {
|
||||
LOG(ERROR) << "Drop reply to message " << message->id_ << " in chat " << message->chat_id_
|
||||
<< " from another chat " << reply_in_chat_id;
|
||||
<< " from another chat " << reply_in_chat_id << " sent at " << message->date_
|
||||
<< " and originally sent at "
|
||||
<< (message->forward_info_ != nullptr ? message->forward_info_->date_ : -1);
|
||||
message->reply_to_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user