summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.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/entities.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/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 977b9b635d..0be3d2d396 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -88,8 +88,10 @@ struct facebook_user
struct facebook_chatroom
{
- std::tstring chat_name;
+ facebook_chatroom(std::tstring thread_id) : thread_id(thread_id) {}
+
std::tstring thread_id;
+ std::tstring chat_name;
std::map<std::string, std::string> participants;
std::string message_readers;