summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-05-19 18:51:14 +0000
committerRobert Pösel <robyer@seznam.cz>2015-05-19 18:51:14 +0000
commit331cea6299be141243e89e10755ec4adf5ef5d90 (patch)
tree6b95ffa477d89c6188d022b2d32704441557e6b7 /protocols/Omegle/src/messages.cpp
parent12e166b13c3b60836c19cd4625ba8a02e423fc53 (diff)
Omegle: Fix receiving data without first letter; various cleanup; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@13700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/messages.cpp')
-rw-r--r--protocols/Omegle/src/messages.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/protocols/Omegle/src/messages.cpp b/protocols/Omegle/src/messages.cpp
index 893674de5b..5eea9b5893 100644
--- a/protocols/Omegle/src/messages.cpp
+++ b/protocols/Omegle/src/messages.cpp
@@ -68,24 +68,12 @@ void OmegleProto::SendTypingWorker(void *p)
facy.typing_stop();
}
-void OmegleProto::NewChatWorker(void*p)
+void OmegleProto::NewChatWorker(void*)
{
NewChat();
}
-void OmegleProto::StopChatWorker(void*p)
+void OmegleProto::StopChatWorker(void*)
{
StopChat();
}
-
-int OmegleProto::SendMsg(MCONTACT hContact, int flags, const char *msg)
-{
- // TODO: msg comes as Unicode (retyped wchar_t*), why should we convert it as ANSI to UTF-8? o_O
-/* if ( flags & PREF_UNICODE )
- msg = mir_utf8encode(msg);
-
- facy.msgid_ = (facy.msgid_ % 1024)+1;
- ForkThread( &OmegleProto::SendMsgWorker, this,new send_direct(hContact,msg,(HANDLE)facy.msgid_));
- return facy.msgid_;*/
- return 0;
-}