diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
commit | 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch) | |
tree | ae387e1079fe63cea4d928a0e2564f218836d548 /protocols/Discord | |
parent | ea45fcc6216051c084a762a8fd2d170e095bb1ba (diff) |
fix for a function name:
Clist_IsHidden => Contact_IsHidden
Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 2 | ||||
-rw-r--r-- | protocols/Discord/src/stdafx.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 8d1f584fe4..cab7874fbd 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -82,7 +82,7 @@ void CDiscordProto::Chat_SendPrivateMessage(GCHOOK *gch) setId(hContact, DB_KEY_ID, userId); setId(hContact, DB_KEY_CHANNELID, _wtoi64(gch->ptszID)); setWString(hContact, "Nick", gch->ptszNick); - Clist_HideContact(hContact); + Contact_Hide(hContact); db_set_dw(hContact, "Ignore", "Mask1", 0); } else hContact = pUser->hContact; diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h index 7f23c5d300..fe0f33691c 100644 --- a/protocols/Discord/src/stdafx.h +++ b/protocols/Discord/src/stdafx.h @@ -21,6 +21,7 @@ #include <newpluginapi.h> #include <m_chat_int.h> #include <m_clist.h> +#include <m_contacts.h> #include <m_database.h> #include <m_folders.h> #include <m_history.h> |