summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
commit426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch)
treeae387e1079fe63cea4d928a0e2564f218836d548 /protocols/ICQ-WIM/src
parentea45fcc6216051c084a762a8fd2d170e095bb1ba (diff)
fix for a function name:
Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r--protocols/ICQ-WIM/src/groupchats.cpp2
-rw-r--r--protocols/ICQ-WIM/src/ignore.cpp2
-rw-r--r--protocols/ICQ-WIM/src/stdafx.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/groupchats.cpp b/protocols/ICQ-WIM/src/groupchats.cpp
index c0f477b122..7d6f991a3d 100644
--- a/protocols/ICQ-WIM/src/groupchats.cpp
+++ b/protocols/ICQ-WIM/src/groupchats.cpp
@@ -258,7 +258,7 @@ void CIcqProto::Chat_SendPrivateMessage(GCHOOK *gch)
if (pCache == nullptr) {
hContact = CreateContact(gch->ptszUID, true);
setWString(hContact, "Nick", gch->ptszNick);
- Clist_HideContact(hContact);
+ Contact_Hide(hContact);
db_set_dw(hContact, "Ignore", "Mask1", 0);
}
else hContact = pCache->m_hContact;
diff --git a/protocols/ICQ-WIM/src/ignore.cpp b/protocols/ICQ-WIM/src/ignore.cpp
index cdf83cc517..3fcddcad13 100644
--- a/protocols/ICQ-WIM/src/ignore.cpp
+++ b/protocols/ICQ-WIM/src/ignore.cpp
@@ -50,7 +50,7 @@ void CIcqProto::ProcessPermissions(const JSONNode &ev)
auto *p = FindContactByUIN(wszId);
if (p == nullptr) {
auto hContact = CreateContact(wszId, false);
- Clist_HideContact(hContact);
+ Contact_Hide(hContact);
p = FindContactByUIN(wszId);
}
p->m_iApparentMode = ID_STATUS_OFFLINE;
diff --git a/protocols/ICQ-WIM/src/stdafx.h b/protocols/ICQ-WIM/src/stdafx.h
index 1e08c2f1b7..22d32fa2db 100644
--- a/protocols/ICQ-WIM/src/stdafx.h
+++ b/protocols/ICQ-WIM/src/stdafx.h
@@ -48,6 +48,7 @@
#include <m_avatars.h>
#include <m_chat_int.h>
#include <m_clistint.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_gui.h>
#include <m_idle.h>