Fix wrong is_outgoing flag.

GitOrigin-RevId: 09c3817822b6bf8a961cbeaa33eb6a7ecd15d7ad
This commit is contained in:
levlam 2018-08-25 16:01:23 +03:00
parent f13452f756
commit 5923239296

View File

@ -10654,6 +10654,7 @@ std::pair<DialogId, unique_ptr<MessagesManager::Message>> MessagesManager::creat
LOG(ERROR) << "Receive wrong message out flag: me is " << my_id << ", message is from " << sender_user_id
<< ", flags = " << flags << " for " << message_id << " in " << dialog_id;
// }
is_outgoing = !is_outgoing;
}
MessageId reply_to_message_id = message_info.reply_to_message_id;