diff options
| author | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
| commit | 500dd4848842f6d4207584417448586d060fbd6a (patch) | |
| tree | 569ac641e814da1d706d36b12eaf35183a3ce7a5 /plugins/MirFox/src | |
| parent | b47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff) | |
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'plugins/MirFox/src')
| -rw-r--r-- | plugins/MirFox/src/MirfoxData.cpp | 2 | ||||
| -rw-r--r-- | plugins/MirFox/src/MirfoxMiranda.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirFox/src/MirfoxData.cpp b/plugins/MirFox/src/MirfoxData.cpp index d529f38f89..c398aabd35 100644 --- a/plugins/MirFox/src/MirfoxData.cpp +++ b/plugins/MirFox/src/MirfoxData.cpp @@ -616,7 +616,7 @@ void MirfoxData::initializeMirandaContacts() for (auto &hContact : Contacts()){
//"Hidden" contacts not allowed in MirfoxData and SM, "NotOnList" contacts allowed and enabled
- if (Contact_IsHidden(hContact))
+ if (Contact::IsHidden(hContact))
continue;
//add to MirfoxData list
diff --git a/plugins/MirFox/src/MirfoxMiranda.cpp b/plugins/MirFox/src/MirfoxMiranda.cpp index bf13976d6b..ffbd637b96 100644 --- a/plugins/MirFox/src/MirfoxMiranda.cpp +++ b/plugins/MirFox/src/MirfoxMiranda.cpp @@ -127,7 +127,7 @@ void CMirfoxMiranda::onContactAdded_async(void* threadArg) canAdd = false;
// execute
- if (canAdd && Contact_IsHidden(onContactAsyncThreadArgStruct->hContact))
+ if (canAdd && Contact::IsHidden(onContactAsyncThreadArgStruct->hContact))
canAdd = false;
// add
@@ -188,7 +188,7 @@ void CMirfoxMiranda::onContactSettingChanged_async(void* threadArg){ canAdd = false;
// edit
- if (canAdd && Contact_IsHidden(onContactAsyncThreadArgStruct->hContact))
+ if (canAdd && Contact::IsHidden(onContactAsyncThreadArgStruct->hContact))
canAdd = false;
if (canAdd)
|
