summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
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/Scriver/src
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/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgutils.cpp2
1 files changed, 1 insertions, 1 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);