diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-04 18:58:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-04 18:58:01 +0300 |
commit | fb8111c474a8e393e885707eb9796195a2e5a1c6 (patch) | |
tree | 8eac26e1f9abc5b0e7ff1604398478120517e8c7 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | ac9b7f8cae2299f38187a5d239658cc9c2b8ef96 (diff) |
SRMM: total constructors' unification, also fixes #4715 (no nicklist in tabSRMM)
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index d510320768..d158902e32 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -320,7 +320,7 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM /////////////////////////////////////////////////////////////////////////////////////////
CMsgDialog::CMsgDialog(int iDlgId, MCONTACT hContact) :
- CSuper(g_plugin, iDlgId),
+ CSuper(g_plugin, iDlgId, hContact),
m_pPanel(this),
timerAwayMsg(this, 100),
m_btnAdd(this, IDC_ADD),
@@ -332,9 +332,7 @@ CMsgDialog::CMsgDialog(int iDlgId, MCONTACT hContact) : m_btnQuote.OnClick = Callback(this, &CMsgDialog::onClick_Quote);
- if (Contact::IsGroupChat(hContact)) {
- m_si = Chat_Find(hContact);
-
+ if (m_si) {
m_btnFilter.OnClick = Callback(this, &CMsgDialog::onClick_Filter);
m_btnNickList.OnClick = Callback(this, &CMsgDialog::onClick_ShowNickList);
|