summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-19 00:33:12 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-19 00:33:12 +0000
commitff978db3ec26fbebe32465f4d1d30cf6aa066768 (patch)
treef397adc261b2cdfea8967b90e6b0689dc99109d0
parent17bea76982aa8dd47438355f7c09aac891b10234 (diff)
treat invisible status equal to online
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@288 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--metacontacts/meta_utils.c9
-rw-r--r--metacontacts/version.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/metacontacts/meta_utils.c b/metacontacts/meta_utils.c
index 79cba6f..c368ebb 100644
--- a/metacontacts/meta_utils.c
+++ b/metacontacts/meta_utils.c
@@ -430,14 +430,14 @@ BOOL Meta_Assign(HANDLE src, HANDLE dest, BOOL set_as_default)
}
/*
-#define ID_STATUS_OFFLINE 40071 ->9
+#define ID_STATUS_OFFLINE 40071 ->8
#define ID_STATUS_ONLINE 40072 ->0
#define ID_STATUS_AWAY 40073 ->4
#define ID_STATUS_DND 40074 ->7
#define ID_STATUS_NA 40075 ->6
#define ID_STATUS_OCCUPIED 40076 ->5
#define ID_STATUS_FREECHAT 40077 ->1
-#define ID_STATUS_INVISIBLE 40078 ->8
+#define ID_STATUS_INVISIBLE 40078 ->0
#define ID_STATUS_ONTHEPHONE 40079 ->2
#define ID_STATUS_OUTTOLUNCH 40080 ->3
@@ -445,7 +445,7 @@ BOOL Meta_Assign(HANDLE src, HANDLE dest, BOOL set_as_default)
*/
-int status_order[10] = {9, 0, 4, 7, 6, 5, 1, 8, 2, 3};
+int status_order[10] = {8, 0, 4, 7, 6, 5, 1, 0, 2, 3};
/**
* Convenience method - get most online contact supporting messaging
@@ -535,7 +535,8 @@ HANDLE Meta_GetMostOnlineSupporting(HANDLE hMeta, int pflagnum, unsigned long ca
// see comment above function - AIM is disproportionatly the most online due to limited status modes
if((strcmp(proto, "AIM") == 0
- || strcmp(proto, "SAMETIME") == 0)
+ || strcmp(proto, "SAMETIME") == 0
+ || strcmp(proto, "MYSPACE"))
&& status == ID_STATUS_AWAY)
{
status = ID_STATUS_NA;
diff --git a/metacontacts/version.h b/metacontacts/version.h
index 723e3c2..6e2f65b 100644
--- a/metacontacts/version.h
+++ b/metacontacts/version.h
@@ -5,7 +5,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 13
#define __RELEASE_NUM 0
-#define __BUILD_NUM 8
+#define __BUILD_NUM 9
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM