summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-04-17 17:06:12 +0000
committerRobert Pösel <robyer@seznam.cz>2016-04-17 17:06:12 +0000
commit9e64b26c646913d5669723269c07e6fe8277f10c (patch)
tree0702a4bf6254e49b0cf5af82f3b2d71c56721d30 /protocols/FacebookRM/src/json.h
parent34dd9e912952befefa30ba0d64dbd18d84201552 (diff)
Facebook: Loading names of all users in multi chat from server (not only existing Miranda contacts)
It primary iterates over Miranda's contacts list to find existing contacts (e.g. to preserve existing custom names of these contacts). Then for missing ones it does request to server to get their names. git-svn-id: http://svn.miranda-ng.org/main/trunk@16701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.h')
-rw-r--r--protocols/FacebookRM/src/json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/json.h b/protocols/FacebookRM/src/json.h
index 08aca60918..c49ef65193 100644
--- a/protocols/FacebookRM/src/json.h
+++ b/protocols/FacebookRM/src/json.h
@@ -39,6 +39,7 @@ public:
int parse_thread_info(std::string* data, std::string* user_id);
int parse_user_info(std::string* data, facebook_user* fbu);
int parse_chat_info(std::string* data, facebook_chatroom* fbc);
+ int parse_chat_participant_names(std::string *data, std::map<std::string, std::string>* participants);
facebook_json_parser(FacebookProto* proto)
{