From 15521ae2b07f2c14897f1a5dd62674876fe52fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 15 Jul 2014 15:40:42 +0000 Subject: Facebook: Fix order of roles git-svn-id: http://svn.miranda-ng.org/main/trunk@9810 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index 2293592aa4..9c3eb86388 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -223,11 +223,11 @@ void FacebookProto::AddChat(const TCHAR *tid, const TCHAR *tname) GCEVENT gce = { sizeof(gce), &gcd }; // Create a user statuses - gce.ptszStatus = _T("User"); + gce.ptszStatus = _T("Myself"); CallServiceSync(MS_GC_EVENT, NULL, reinterpret_cast(&gce)); gce.ptszStatus = _T("Friend"); CallServiceSync(MS_GC_EVENT, NULL, reinterpret_cast(&gce)); - gce.ptszStatus = _T("Myself"); + gce.ptszStatus = _T("User"); CallServiceSync(MS_GC_EVENT, NULL, reinterpret_cast(&gce)); // Finish initialization @@ -236,7 +236,7 @@ void FacebookProto::AddChat(const TCHAR *tid, const TCHAR *tname) gce.pDest = &gcd; // Add self contact - ////AddChatContact(tid, facy.self_.user_id.c_str(), facy.self_.real_name.c_str()); + AddChatContact(tid, facy.self_.user_id.c_str(), facy.self_.real_name.c_str()); CallServiceSync(MS_GC_EVENT,SESSION_INITDONE,reinterpret_cast(&gce)); CallServiceSync(MS_GC_EVENT,SESSION_ONLINE, reinterpret_cast(&gce)); } -- cgit v1.2.3