From 5923239296c15557ae880fa761c54d98d6f2a30e Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 25 Aug 2018 16:01:23 +0300 Subject: [PATCH] Fix wrong is_outgoing flag. GitOrigin-RevId: 09c3817822b6bf8a961cbeaa33eb6a7ecd15d7ad --- td/telegram/MessagesManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index b2afdccef..c1b2f4e0a 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -10654,6 +10654,7 @@ std::pair> 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;