summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewStory/src/history_control.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index 1454165994..c8744915a6 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -349,8 +349,14 @@ public:
chkDelHistory.SetState(bDelHistory);
chkDelHistory.Enable(bDelHistory);
- chkForEveryone.SetState(false);
- chkForEveryone.Enable(bDelHistory && bForEveryone);
+ if (Contact::IsGroupChat(m_hContact)) {
+ chkForEveryone.SetState(true);
+ chkForEveryone.Disable();
+ }
+ else {
+ chkForEveryone.SetState(false);
+ chkForEveryone.Enable(bDelHistory && bForEveryone);
+ }
if (m_iNumEvents > 1) {
CMStringW wszText(FORMAT, TranslateT("Do you really want to delete selected items (%d)?"), m_iNumEvents);