summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-10-01 14:49:06 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-10-01 14:49:06 +0300
commit53221d7d7853d463f5703c8b1d95447f501c834d (patch)
tree74554b127c79143b8c361f3d77cc7707c054b08c /plugins/TabSRMM/src/msgs.cpp
parentc5866000711953d0b970c6fe649dab811ba00e4b (diff)
tabSRMM: time to get rid of the second CMsgDialog constructor
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 359fcf67ad..25b2e9c06a 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -320,7 +320,7 @@ CMsgDialog* TSAPI CreateNewTabForContact(
CMsgDialog *pWindow;
if (Contact::IsGroupChat(hContact))
- pWindow = new CMsgDialog(Chat_Find(hContact, szProto));
+ pWindow = new CMsgDialog(IDD_CHANNEL, hContact);
else
pWindow = new CMsgDialog(IDD_MSGSPLITNEW, hContact);
pWindow->m_iTabID = iTabId;