diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-11-11 12:28:05 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-11-11 12:28:05 +0000 |
commit | f82d7993aa423b0628a662f2d58bbf387cb48db8 (patch) | |
tree | 4fbc5c3a29ca6fbbdeb222d9fbb605d85b2a2f54 /protocols/FacebookRM/src/json.cpp | |
parent | 82e06cc4f6bcb21842fd0923fd872d36d52920cb (diff) |
Facebook: useless conversion removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 4 |
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);
|