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 ++ 1 file changed, 2 insertions(+) (limited to 'MySpace/server_con.cpp') 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); -- cgit v1.2.3