summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-09 15:37:10 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-09 15:37:10 +0300
commit96ef0bf6f03191bcf8dfcab8d43627a807eaa0b6 (patch)
tree826e060e27d8806b0a8e8a93ac39fb37a3975e32 /plugins/TabSRMM/src/msgdialog.cpp
parent5dd8452652544890fbc00501b2ba312cfd97beff (diff)
tabSRMM:
- fixes #4000 (Уведомление о пришедшем файле глючит); - unused code removed; - some code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 767d297df5..8af50246c9 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -624,9 +624,9 @@ bool CMsgDialog::OnInitDialog()
timerFlash.Start(TIMEOUT_FLASHWND);
m_bCanFlashTab = true;
- DBEVENTINFO dbei = {};
+ DB::EventInfo dbei;
dbei.eventType = EVENTTYPE_MESSAGE;
- FlashOnClist(m_hDbEventFirst, &dbei);
+ FlashOnClist(m_hDbEventFirst, dbei);
if (!isChat())
m_pContainer->SetIcon(this, Skin_LoadIcon(SKINICON_EVENT_MESSAGE));
@@ -2429,10 +2429,6 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
}
return 0;
- case DM_UPDATELASTMESSAGE:
- DM_UpdateLastMessage();
- return 0;
-
case DM_SAVESIZE:
if (m_bNeedCheckSize)
lParam = 0;