summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-05 22:02:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-05 22:02:21 +0300
commitabf257df3d7d49289eae61ab849b9b292086ca68 (patch)
treed36a183bba7c95e1a64b119abdfd5f77bdcb7d2e /plugins/TabSRMM/src/chat/services.cpp
parentb30eb34e2446ad4ad52a1752ef47443ae56ca317 (diff)
moving data from SESSION_INFO to CChatRoomDlg
Diffstat (limited to 'plugins/TabSRMM/src/chat/services.cpp')
-rw-r--r--plugins/TabSRMM/src/chat/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp
index 7f574eb381..768657eb78 100644
--- a/plugins/TabSRMM/src/chat/services.cpp
+++ b/plugins/TabSRMM/src/chat/services.cpp
@@ -162,12 +162,12 @@ void ShowRoom(SESSION_INFO *si)
return;
if (si->hWnd != NULL) {
- ActivateExistingTab(si->pContainer, si->hWnd);
+ ActivateExistingTab(si->dat->m_pContainer, si->hWnd);
return;
}
wchar_t szName[CONTAINER_NAMELEN + 2]; szName[0] = 0;
- TContainerData *pContainer = si->pContainer;
+ TContainerData *pContainer = si->dat->m_pContainer;
if (pContainer == NULL) {
GetContainerNameForContact(si->hContact, szName, CONTAINER_NAMELEN);
if (!g_Settings.bOpenInDefault && !mir_wstrcmp(szName, L"default"))