diff options
Diffstat (limited to 'protocols/Discord/src')
-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> |