diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-25 17:41:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-25 17:41:18 +0300 |
commit | 147122758513993f4fd8bdc6c341f21d9d8beaca (patch) | |
tree | a746df62ac84acf23b375bda9ab6d5a9fc66199b /plugins/TabSRMM/src/msgdlgother.cpp | |
parent | 7378dd16f14d3f9f34cde4a18859d406cd303a22 (diff) |
CLogWindow::LogEvents considered useless and localized inside tabSRMM
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgother.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgother.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index 249863ec01..8317d4bd0c 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -853,6 +853,19 @@ void CMsgDialog::LoadSplitter() } ///////////////////////////////////////////////////////////////////////////////////////// + +void CMsgDialog::LogEvent(DBEVENTINFO &dbei) +{ + dbei.flags |= DBEF_TEMPORARY; + + MEVENT hDbEvent = db_event_add(m_hContact, &dbei); + if (hDbEvent) { + m_pLog->LogEvents(hDbEvent, 1, true); + db_event_delete(hDbEvent); + } +} + +///////////////////////////////////////////////////////////////////////////////////////// // draw various elements of the message window, like avatar(s), info panel fields // and the color formatting menu |