Silence now possible warning.
GitOrigin-RevId: 1b431d3d20c512239445f388934eba14bd8f9522
This commit is contained in:
parent
5a80fc5621
commit
e3867152e7
@ -21311,7 +21311,8 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
||||
++it;
|
||||
auto next_message = *it;
|
||||
if (next_message != nullptr) {
|
||||
if (next_message->message_id.is_server()) {
|
||||
if (next_message->message_id.is_server() &&
|
||||
!(td_->auth_manager_->is_bot() && Slice(source) == Slice("get channel messages"))) {
|
||||
LOG(ERROR) << "Can't attach " << message_id << " from " << source << " before " << next_message->message_id
|
||||
<< " and after " << previous_message->message_id << " in " << dialog_id;
|
||||
dump_debug_message_op(d);
|
||||
|
Loading…
Reference in New Issue
Block a user