diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-03 22:44:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-03 22:44:14 +0300 |
commit | abba0e9d7b16f656e7eeb2a062ae9f7d31d6482e (patch) | |
tree | 37ef7ac6bd0532090799aadb4677cf3ddbf657f6 /protocols/FacebookRM/src/chat.cpp | |
parent | 654aba9d146fa931628790e2b16c5ca0f28907b3 (diff) |
Facebook: first version of GrahQL request that doesn't fail
Diffstat (limited to 'protocols/FacebookRM/src/chat.cpp')
-rw-r--r-- | protocols/FacebookRM/src/chat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<std::string, chatroom_participant>::iterator jt = fbc->participants.begin(); jt != fbc->participants.end(); ++jt) { + for (std::map<std::string, chatroom_participant>::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 |