summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-19 14:48:33 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-19 14:48:33 +0300
commit9439b05189ce9db2cbe552796995cf67126af308 (patch)
tree0b360ab24a0f7e3969b096293cbaa56801a76cee /plugins
parenta6bb80933c2984cf9a703e6dae6f1f18851c19b6 (diff)
SESSION_INFO: separate list for the interface support eliminated, now there's the only list of USERINFO sorted by their unique IDs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/msgutils.cpp2
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgutils.cpp b/plugins/Scriver/src/msgutils.cpp
index c6d9b8589e..e0e8cd0325 100644
--- a/plugins/Scriver/src/msgutils.cpp
+++ b/plugins/Scriver/src/msgutils.cpp
@@ -723,7 +723,7 @@ void CMsgDialog::UpdateTitle()
tbd.hIconBig = (m_si->wStatus == ID_STATUS_ONLINE) ? m_si->pMI->hOnlineIconBig : m_si->pMI->hOfflineIconBig;
tbd.hIconNot = (m_si->wState & (GC_EVENT_HIGHLIGHT | STATE_TALK)) ? g_plugin.getIcon(IDI_OVERLAY) : nullptr;
- int nUsers = m_si->getUserList().getCount();
+ int nUsers = m_nickList.GetCount();
switch (m_si->iType) {
case GCW_CHATROOM:
wszTitle.Format((nUsers == 1) ? TranslateT("%s: chat room (%u user)") : TranslateT("%s: chat room (%u users)"), m_si->ptszName, nUsers);
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 4b7e2e23ea..52b26b29b8 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -2725,7 +2725,7 @@ void CMsgDialog::UpdateTitle()
CMStringW wszTitle;
HICON hIcon = nullptr;
- int nUsers = m_si->getUserList().getCount();
+ int nUsers = m_nickList.GetCount();
switch (m_si->iType) {
case GCW_CHATROOM: