diff options
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 |