summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-01 18:23:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-01 18:23:27 +0300
commitc9027518b426a134006a7335184df8f9205b2938 (patch)
treed74c7ad6a446c462d559edc9ae2f584f955fb2fc /plugins/NewStory/src/main.cpp
parent7ce5ce71c631671061ba13fd30b97075fa5f3e63 (diff)
fixes #2371 (NewStory: add grouping support)
Diffstat (limited to 'plugins/NewStory/src/main.cpp')
-rw-r--r--plugins/NewStory/src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp
index 3b43192ad3..fc9d66a8e5 100644
--- a/plugins/NewStory/src/main.cpp
+++ b/plugins/NewStory/src/main.cpp
@@ -13,6 +13,8 @@
CMPlugin g_plugin;
+CMOption<bool> g_bOptGrouping(MODULENAME, "MessageGrouping", false);
+
/////////////////////////////////////////////////////////////////////////////////////////
PLUGININFOEX pluginInfoEx =
@@ -102,7 +104,8 @@ static int evtPreShutdown(WPARAM, LPARAM)
int CMPlugin::Load()
{
- g_plugin.registerIcon(MODULETITLE, icons);
+ registerIcon(MODULETITLE, icons);
+ bMsgGrouping = g_bOptGrouping;
m_log = RegisterSrmmLog(MODULETITLE, _T(MODULENAME), NewStory_Stub);