diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-28 12:37:37 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-28 12:37:37 +0000 |
commit | 66cb0e5b93b88b84599c1c32f46a3ff847517c57 (patch) | |
tree | 848cb290bdc68a037cb500f66d9fafc83c66c91c /protocols/FacebookRM/src/contacts.cpp | |
parent | 2e2d9de08e3eb747f88cd3a9aeb750a3c34078a7 (diff) |
Facebook: Post status improvements (part 2) - ability to post statuses to other contact's wall
git-svn-id: http://svn.miranda-ng.org/main/trunk@5509 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 794455f6c2..cdb71054ac 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -39,7 +39,7 @@ HANDLE FacebookProto::ChatIDToHContact(std::string chat_id) if (!IsMyContact(hContact, true))
continue;
- ptrA id( getStringA(hContact, "ChatRoomID"));
+ ptrA id(getStringA(hContact, "ChatRoomID"));
if (id && !strcmp(id, chat_id.c_str()))
return hContact;
}
@@ -53,7 +53,7 @@ HANDLE FacebookProto::ContactIDToHContact(std::string user_id) if (!IsMyContact(hContact))
continue;
- ptrA id( getStringA(hContact, FACEBOOK_KEY_ID));
+ ptrA id(getStringA(hContact, FACEBOOK_KEY_ID));
if (id && !strcmp(id, user_id.c_str()))
return hContact;
}
@@ -244,7 +244,7 @@ void FacebookProto::ApproveContactToServer(void *data) std::string get_data = "id=";
- ptrA id( getStringA(hContact, FACEBOOK_KEY_ID));
+ ptrA id(getStringA(hContact, FACEBOOK_KEY_ID));
get_data += id;
http::response resp = facy.flap(REQUEST_APPROVE_FRIEND, &post_data, &get_data);
@@ -269,7 +269,7 @@ void FacebookProto::CancelFriendsRequest(void *data) query += "&fb_dtsg=" + facy.dtsg_;
query += "&__user=" + facy.self_.user_id;
- ptrA id( getStringA(hContact, FACEBOOK_KEY_ID));
+ ptrA id(getStringA(hContact, FACEBOOK_KEY_ID));
query += "&friend=" + std::string(id);
// Get unread inbox threads
|