Add add_local_message debug.
GitOrigin-RevId: 893cddc5a8388bf47eaaf62e1f9ec9dc1fe6bb45
This commit is contained in:
parent
10b7862dfd
commit
b339257c89
@ -19546,7 +19546,7 @@ Result<MessageId> MessagesManager::add_local_message(
|
||||
bool need_update_dialog_pos = false;
|
||||
auto result =
|
||||
add_message_to_dialog(d, std::move(m), true, &need_update, &need_update_dialog_pos, "add local message");
|
||||
CHECK(result != nullptr);
|
||||
CHECK(result != nullptr) << message_id << " " << debug_add_message_to_dialog_fail_reason;
|
||||
|
||||
if (is_message_auto_read(dialog_id, result->is_outgoing)) {
|
||||
if (result->is_outgoing) {
|
||||
|
Loading…
Reference in New Issue
Block a user