summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-03-18 23:42:49 +0000
committerRobert Pösel <robyer@seznam.cz>2014-03-18 23:42:49 +0000
commit4c6d7054a9d545c8d8978b6fe1d1f8a89119f2c7 (patch)
tree71d776c7c60cceaec8d61895923062905c13f561 /protocols/FacebookRM/src/proto.h
parentb64a452a1787bb1a46ec50babc8d713afe73ca58 (diff)
Facebook: Load user info when receiving message from someone who isn't in clist yet
git-svn-id: http://svn.miranda-ng.org/main/trunk@8655 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index 319e08074c..414e016bf0 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -189,6 +189,7 @@ public:
MCONTACT ContactIDToHContact(std::string);
MCONTACT ChatIDToHContact(std::tstring);
std::string ThreadIDToContactID(std::string thread_id);
+ void FacebookProto::LoadContactInfo(facebook_user* fbu);
MCONTACT AddToContactList(facebook_user*, ContactType type, bool dont_check = false);
void SetAllContactStatuses(int status);
MCONTACT HContactFromAuthEvent(HANDLE hEvent);
@@ -202,6 +203,7 @@ public:
void RemoveChatContact(const TCHAR *chat_id, const char *id);
void SetChatStatus(const char *chat_id, int status);
char *GetChatUsers(const TCHAR *chat_id);
+ void ReceiveMessages(std::vector<facebook_message*> messages, bool local_timestamp);
// Connection client
facebook_client facy; // TODO: Refactor to "client" and make dynamic