summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-16 18:22:43 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-16 18:22:43 +0300
commit2a181b5ec19c0008d497553a95272ff7d114eb72 (patch)
tree0fcfb0ccd18e724daaf6c887a52baab90937a1ec /plugins/NewStory/src/history_menus.cpp
parentea325162c0e04fbb95d101a744ac605bac47492d (diff)
fixes #3934 (ICQ: Онлайн файл может не преобразовываться в файл, а оставаться "левой ссылкой")
Diffstat (limited to 'plugins/NewStory/src/history_menus.cpp')
-rw-r--r--plugins/NewStory/src/history_menus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_menus.cpp b/plugins/NewStory/src/history_menus.cpp
index 97739bb29f..2fd82c16e7 100644
--- a/plugins/NewStory/src/history_menus.cpp
+++ b/plugins/NewStory/src/history_menus.cpp
@@ -49,7 +49,8 @@ HMENU NSMenu_Build(NewstoryListData *data, ItemData *item)
bShowEventActions = item->hEvent != 0;
- NotifyEventHooks(hEventPreBuildMenu, item->hContact, (LPARAM)&item->dbe);
+ DB::EventInfo dbei(item->hEvent);
+ NotifyEventHooks(hEventPreBuildMenu, item->hContact, (LPARAM)&dbei);
}
else {
bShowEventActions = false;