summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:52 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:52 +0000
commitf594c8c321533e59d66e7d47ab1a3cdbf551ad90 (patch)
treed0a74f6a0d87d192f21dd905941ade79a841c1bb /protocols/FacebookRM/src/json.h
parent0a110324bc5c7316fc52d9d86137d40759508794 (diff)
Facebook: Improve loading users in chatrooms
Fix loading all names (previously it won't loaded name of last user), load also former participants, code refactoring git-svn-id: http://svn.miranda-ng.org/main/trunk@17129 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.h')
-rw-r--r--protocols/FacebookRM/src/json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/json.h b/protocols/FacebookRM/src/json.h
index b392fb247e..666968385c 100644
--- a/protocols/FacebookRM/src/json.h
+++ b/protocols/FacebookRM/src/json.h
@@ -38,7 +38,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);
+ int parse_chat_participant_names(std::string *data, std::map<std::string, chatroom_participant>* participants);
facebook_json_parser(FacebookProto* proto)
{