summaryrefslogtreecommitdiff
path: root/MySpace/server_con.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-02 06:20:45 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-02 06:20:45 +0000
commit597c790ab3955f04c039aca5a634428fe5ab01b4 (patch)
tree9dc33adea5b8d1e19c07f7150373c7ca4fb2896e /MySpace/server_con.cpp
parent282d9dad6058a6160f8c7e1f5ed4dad902f8ae38 (diff)
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
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r--MySpace/server_con.cpp2
1 files changed, 2 insertions, 0 deletions
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);