summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-04 17:19:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-04 17:19:23 +0300
commitedf5b2f830428d258237f707fb8e51f02670715e (patch)
tree9e0bc5dc454d87d8842da5807a94ef0c0df3a487 /plugins/NewStory/src/history.cpp
parentcf23762bb2375b6b2b84610360387f6b9531c15e (diff)
Newstory: no need to add whole history into log window
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index 20c5d10da5..6f5cab65bd 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -551,7 +551,7 @@ public:
UpdateTitle();
- ADDEVENTS tmp = { m_hContact, 0, -1 };
+ ADDEVENTS tmp = { m_hContact, db_event_first(m_hContact), -1 };
SendMessage(m_histControl.GetHwnd(), NSM_ADDEVENTS, WPARAM(&tmp), 0);
Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(ICO_NEWSTORY));