summaryrefslogtreecommitdiff
path: root/MySpace/server_con.cpp
diff options
context:
space:
mode:
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);