summaryrefslogtreecommitdiff
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
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
-rw-r--r--MySpace/server_con.cpp2
-rw-r--r--MySpace/version.h2
2 files changed, 3 insertions, 1 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);
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