summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/FacebookRM/src/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index 3b56b00abb..14bcc64c25 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -453,7 +453,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
// Multi-user
JSONNODE *gthreadinfo = json_get(msg, "group_thread_info");
- if (gthreadinfo != NULL) {
+ if (gthreadinfo != NULL) {
std::string thread_id = json_as_pstring(tid);
// This is a recent 5 person listing of participants.
@@ -497,7 +497,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
}
if (!hChatContact)
- hChatContact = proto->ChatIDToHContact(thread_id.c_str());
+ hChatContact = proto->ChatIDToHContact(thread_id);
for (unsigned int n = 0; n < json_size(participants_ids); n++) {
JSONNODE *idItr = json_at(participants_ids, n);