summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-15 15:35:50 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-15 15:35:50 +0000
commit31576722f7a8fd5c9719852242a2b4e9749830d9 (patch)
treee190a4e42b6b5cbe51d2f9407d4fe79962ee58a5 /protocols/FacebookRM/src/client.h
parentaf9f7df6d22903be7f7a7c8a93d77355bbd7f958 (diff)
Facebook: First phase of chat refactoring
- It loads list of users, their "roles" (myself, friend, user) with friend's names - Fixed some memory leak git-svn-id: http://svn.miranda-ng.org/main/trunk@9809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r--protocols/FacebookRM/src/client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index 29b2ba0f95..4b3d23f112 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -97,7 +97,7 @@ public:
std::map<std::string, std::string> cookies;
std::map<std::string, std::string> pages;
- std::map<std::tstring, facebook_chatroom> chat_rooms;
+ std::map<std::tstring, facebook_chatroom*> chat_rooms;
std::map<std::string, facebook_notification*> notifications;
std::string get_newsfeed_type();
@@ -112,6 +112,7 @@ public:
void store_headers(http::response* resp, NETLIBHTTPHEADER* headers, int headers_count);
void clear_cookies();
void clear_notifications();
+ void clear_chatrooms();
////////////////////////////////////////////////////////////