From 597c790ab3955f04c039aca5a634428fe5ab01b4 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 2 Jul 2007 06:20:45 +0000 Subject: automatically end contact typing when a message is received from a contact git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@242 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/server_con.cpp | 2 ++ MySpace/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp index 0da2449..53429bd 100644 --- a/MySpace/server_con.cpp +++ b/MySpace/server_con.cpp @@ -432,6 +432,8 @@ void __cdecl ServerThreadFunc(void*) { } char text[MAX_MESSAGE_SIZE]; if(msg.get_string("msg", text, MAX_MESSAGE_SIZE)) { + CallService(MS_PROTO_CONTACTISTYPING, (WPARAM)hContact, (LPARAM)0); // auto end typing + strip_tags(text); decode_smileys(text); unentitize_msg(text); diff --git a/MySpace/version.h b/MySpace/version.h index 1e69353..5b79c86 100644 --- a/MySpace/version.h +++ b/MySpace/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 0 #define __RELEASE_NUM 1 -#define __BUILD_NUM 11 +#define __BUILD_NUM 12 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3