From 331cea6299be141243e89e10755ec4adf5ef5d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 19 May 2015 18:51:14 +0000 Subject: 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 --- protocols/Omegle/src/messages.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'protocols/Omegle/src/messages.cpp') 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; -} -- cgit v1.2.3