summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-05 13:16:55 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-05 13:16:55 +0300
commit89a1de0eaf8377c97c9486492f08ca095effd906 (patch)
tree52808d55e8b236de140d449863e2646250ed845a
parent7bb974f094fb6ceb88703941566981a803873f94 (diff)
NewStory: fix for deleting messages
-rw-r--r--plugins/NewStory/src/history_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index bf9188e5e0..aabf445b63 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -373,7 +373,7 @@ void NewstoryListData::DeleteItems(void)
int firstSel = -1, flags = 0;
if (dlg.bDelHistory)
- flags |= CDF_FROM_SERVER;
+ flags |= CDF_DEL_HISTORY;
if (dlg.bForEveryone)
flags |= CDF_FOR_EVERYONE;