mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-26 12:45:52 +01:00
Improve error message.
This commit is contained in:
parent
e117cfa33f
commit
19a7da41b2
@ -13173,7 +13173,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