diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-24 13:38:56 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-24 13:38:56 +0300 |
commit | 131e161afd6727f859173c1adc76859ef2ca35c9 (patch) | |
tree | 96970f78658f9a8a5be715539d14e8e3b743596a /src/mir_app | |
parent | fc1ccf076ac6239ddceb2075d81da9fe20584e40 (diff) |
fixes #4294 (Не отдавать команду на изменение контакта, если удаляется невидимый контакт)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/clistsettings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/clistsettings.cpp b/src/mir_app/src/clistsettings.cpp index 42491585a0..ce36b1786d 100644 --- a/src/mir_app/src/clistsettings.cpp +++ b/src/mir_app/src/clistsettings.cpp @@ -149,7 +149,8 @@ int ContactAdded(WPARAM hContact, LPARAM) int ContactDeleted(WPARAM hContact, LPARAM)
{
- Clist_Broadcast(INTM_CONTACTDELETED, hContact, 0);
+ if (!Contact::IsHidden(hContact))
+ Clist_Broadcast(INTM_CONTACTDELETED, hContact, 0);
int idx = clistCache.getIndex((ClcCacheEntry*)&hContact);
if (idx != -1) {
|