summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-23 14:43:56 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-23 14:43:56 +0000
commit398b795a10e915656b8eade2439ab4ac33d4a928 (patch)
tree2323768e2902d5ce298f7061e99c835a819158da
parent10b1d999efb61ac368233d215d4c43e72e0d08d4 (diff)
Use GCW_PRIVMESS in Facebook and Omegle protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@9058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/chat.cpp4
-rw-r--r--protocols/Omegle/src/chat.cpp2
2 files changed, 3 insertions, 3 deletions
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;