diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-05 18:04:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-05 18:04:01 +0300 |
commit | 8449b1715de83ee5c997c8aac613e7efac9460d3 (patch) | |
tree | c3db7f88aa6a3db3036e49fc54cde6fc58e71ac0 /plugins/NewStory | |
parent | 7ced6103bd526de1980707bc019b03b2f0b64d00 (diff) |
fixes #4608 (Telegram: у избранного должна быть недоступна опция "удалить историю для всех")
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 0aabbdb74c..1454165994 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -340,7 +340,7 @@ public: {
if (char *szProto = Proto_GetBaseAccountName(hContact)) {
bDelHistory = Proto_CanDeleteHistory(szProto, hContact);
- bForEveryone = (CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_4, 0) & PF4_DELETEFORALL) != 0;
+ bForEveryone = (CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_4, hContact) & PF4_DELETEFORALL) != 0;
}
}
|