summaryrefslogtreecommitdiff
path: root/plugins/SkypeStatusChange/src
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-07-21 19:59:18 +0300
committerdartraiden <wowemuh@gmail.com>2019-07-21 19:59:18 +0300
commitb078dfb78c89aea87cd422eae52694738e473cf3 (patch)
treeca896e82a8a5ce81f80d041f4aee7fdeeb007162 /plugins/SkypeStatusChange/src
parentee7e29d02e94e969c1154515cd0c408c591a2414 (diff)
Restore "Free for chat" status support (fixes #1963)
Diffstat (limited to 'plugins/SkypeStatusChange/src')
-rw-r--r--plugins/SkypeStatusChange/src/main.cpp3
-rw-r--r--plugins/SkypeStatusChange/src/stdafx.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp
index 61a529e27b..01ae8cf5f4 100644
--- a/plugins/SkypeStatusChange/src/main.cpp
+++ b/plugins/SkypeStatusChange/src/main.cpp
@@ -58,9 +58,10 @@ const CMirandaStatus2SkypeStatus g_aStatusCode[MAX_STATUS_COUNT] =
{ID_STATUS_NA, "AWAY",L"Not available"}, // removed in Skype 5
{ID_STATUS_DND, "DND",L"Do not disturb"},
{ID_STATUS_ONLINE, "ONLINE",L"Online"},
+ {ID_STATUS_FREECHAT, "ONLINE",L"Free for chat"}, // SKYPEME status doesn't work in Skype 4!
{ID_STATUS_OFFLINE, "OFFLINE",L"Offline"},
{ID_STATUS_INVISIBLE, "INVISIBLE",L"Invisible"},
- {ID_STATUS_OCCUPIED,"DND",L"Occupied"},
+ {ID_STATUS_OCCUPIED,"DND",L"Occupied"}
};
enum { INVALID_INDEX = 0xFFFFFFFF };
diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h
index 20a71727e0..80a056e8ee 100644
--- a/plugins/SkypeStatusChange/src/stdafx.h
+++ b/plugins/SkypeStatusChange/src/stdafx.h
@@ -33,6 +33,7 @@ class COptions
cssLongAway = 0x00000010,
cssLightDND = 0x00000020,
cssHeavyDND = 0x00000040,
+ cssFreeChat = 0x00000080,
cssIdle = 0x00000400,
cssAll = 0x80000000
};
@@ -47,6 +48,7 @@ class COptions
case ID_STATUS_NA: return cssLongAway;
case ID_STATUS_OCCUPIED: return cssLightDND;
case ID_STATUS_DND: return cssHeavyDND;
+ case ID_STATUS_FREECHAT: return cssFreeChat;
case ID_STATUS_IDLE: return cssIdle;
}
return 0;