From abba0e9d7b16f656e7eeb2a062ae9f7d31d6482e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 3 Jan 2018 22:44:14 +0300 Subject: Facebook: first version of GrahQL request that doesn't fail --- protocols/FacebookRM/src/chat.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/chat.cpp') diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index 8225ef4b6b..335b9e281a 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -260,9 +260,8 @@ INT_PTR FacebookProto::OnJoinChat(WPARAM hContact, LPARAM) AddChat(fbc->thread_id.c_str(), fbc->chat_name.c_str()); // Add chat contacts - for (std::map::iterator jt = fbc->participants.begin(); jt != fbc->participants.end(); ++jt) { + for (std::map::iterator jt = fbc->participants.begin(); jt != fbc->participants.end(); ++jt) AddChatContact(fbc->thread_id.c_str(), jt->second, false); - } // Load last messages delSetting(hContact, FACEBOOK_KEY_MESSAGE_ID); // We're creating new chatroom so we want load all recent messages -- cgit v1.2.3