From 31576722f7a8fd5c9719852242a2b4e9749830d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 15 Jul 2014 15:35:50 +0000 Subject: 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 --- protocols/FacebookRM/src/entities.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/entities.h') 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 participants; std::string message_readers; -- cgit v1.2.3