diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-19 00:33:12 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-19 00:33:12 +0000 |
commit | ff978db3ec26fbebe32465f4d1d30cf6aa066768 (patch) | |
tree | f397adc261b2cdfea8967b90e6b0689dc99109d0 /metacontacts/meta_utils.c | |
parent | 17bea76982aa8dd47438355f7c09aac891b10234 (diff) |
treat invisible status equal to online
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@288 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_utils.c')
-rw-r--r-- | metacontacts/meta_utils.c | 9 |
1 files changed, 5 insertions, 4 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;
|