summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/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/MirandaG15/src
parentee7e29d02e94e969c1154515cd0c408c591a2414 (diff)
Restore "Free for chat" status support (fixes #1963)
Diffstat (limited to 'plugins/MirandaG15/src')
-rw-r--r--plugins/MirandaG15/src/CAppletManager.cpp2
-rw-r--r--plugins/MirandaG15/src/CAppletManager.h2
-rw-r--r--plugins/MirandaG15/src/CContactList.cpp3
3 files changed, 5 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/CAppletManager.cpp b/plugins/MirandaG15/src/CAppletManager.cpp
index 8c88700675..602fec49f4 100644
--- a/plugins/MirandaG15/src/CAppletManager.cpp
+++ b/plugins/MirandaG15/src/CAppletManager.cpp
@@ -499,6 +499,8 @@ HBITMAP CAppletManager::GetStatusBitmap(int iStatus)
return m_ahStatusBitmaps[5];
case ID_STATUS_INVISIBLE:
return m_ahStatusBitmaps[6];
+ case ID_STATUS_FREECHAT:
+ return m_ahStatusBitmaps[7];
case ID_STATUS_AWAY:
default:
return m_ahStatusBitmaps[2];
diff --git a/plugins/MirandaG15/src/CAppletManager.h b/plugins/MirandaG15/src/CAppletManager.h
index 35cc98ac7e..80a29d9603 100644
--- a/plugins/MirandaG15/src/CAppletManager.h
+++ b/plugins/MirandaG15/src/CAppletManager.h
@@ -181,7 +181,7 @@ private:
bool m_bScreensaver = false;
- HBITMAP m_ahStatusBitmaps[7];
+ HBITMAP m_ahStatusBitmaps[8];
HBITMAP m_ahEventBitmaps[4];
HBITMAP m_ahLargeEventBitmaps[4];
};
diff --git a/plugins/MirandaG15/src/CContactList.cpp b/plugins/MirandaG15/src/CContactList.cpp
index ee7bd5a20d..c385b7965b 100644
--- a/plugins/MirandaG15/src/CContactList.cpp
+++ b/plugins/MirandaG15/src/CContactList.cpp
@@ -11,7 +11,8 @@ const int aiStatusPriority[] =
1, // ID_STATUS_DND 40074
7, // ID_STATUS_NA 40075
6, // ID_STATUS_OCCUPIED 40076
- 9 // ID_STATUS_INVISIBLE 40077
+ 10, // ID_STATUS_FREECHAT 40077
+ 9 // ID_STATUS_INVISIBLE 40078
};
//************************************************************************