From 398b795a10e915656b8eade2439ab4ac33d4a928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 23 Apr 2014 14:43:56 +0000 Subject: Use GCW_PRIVMESS in Facebook and Omegle protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@9058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/chat.cpp | 4 ++-- protocols/Omegle/src/chat.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index d0e412ab22..323c36428d 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -212,7 +212,7 @@ void FacebookProto::AddChat(const TCHAR *tid, const TCHAR *tname) { // Create the group chat session GCSESSION gcw = { sizeof(gcw) }; - gcw.iType = GCW_CHATROOM; + gcw.iType = GCW_PRIVMESS; gcw.ptszID = tid; gcw.pszModule = m_szModuleName; gcw.ptszName = tname; @@ -256,7 +256,7 @@ INT_PTR FacebookProto::OnJoinChat(WPARAM hContact, LPARAM suppress) // Create the group chat session gcw.dwFlags = GC_TCHAR; - gcw.iType = GCW_CHATROOM; + gcw.iType = GCW_PRIVMESS; gcw.pszModule = m_szModuleName; gcw.ptszName = m_tszUserName; gcw.ptszID = m_tszUserName; diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp index a51eb4542f..f9dac49e91 100644 --- a/protocols/Omegle/src/chat.cpp +++ b/protocols/Omegle/src/chat.cpp @@ -262,7 +262,7 @@ INT_PTR OmegleProto::OnJoinChat(WPARAM,LPARAM suppress) { // Create the group chat session GCSESSION gcw = {sizeof(gcw)}; - gcw.iType = GCW_CHATROOM; + gcw.iType = GCW_PRIVMESS; gcw.ptszID = m_tszUserName; gcw.ptszName = m_tszUserName; gcw.pszModule = m_szModuleName; -- cgit v1.2.3