From b078dfb78c89aea87cd422eae52694738e473cf3 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sun, 21 Jul 2019 19:59:18 +0300 Subject: Restore "Free for chat" status support (fixes #1963) --- plugins/SkypeStatusChange/src/main.cpp | 3 ++- plugins/SkypeStatusChange/src/stdafx.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/SkypeStatusChange/src') 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; -- cgit v1.2.3