From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 21:32:12 +0300 Subject: fix for a function name: Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide --- protocols/FacebookRM/src/contacts.cpp | 2 +- protocols/FacebookRM/src/proto.cpp | 2 +- protocols/FacebookRM/src/stdafx.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src') diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 3c42865fe2..4c03674cb1 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -234,7 +234,7 @@ MCONTACT FacebookProto::AddToContactList(facebook_user* fbu, bool force_add, boo if (hContact) { // Save these values only when adding new contact, not when updating existing if (add_temporarily) { - Clist_HideContact(hContact); + Contact_Hide(hContact); db_set_b(hContact, "CList", "NotOnList", 1); } diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 12b5f3c80f..dc9655839b 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -282,7 +282,7 @@ MCONTACT FacebookProto::AddToList(int flags, PROTOSEARCHRESULT* psr) // Reset NotOnList flag if present and we're adding this contact not temporarily if (hContact && !add_temporarily && db_get_b(hContact, "CList", "NotOnList", 0)) { - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); db_unset(hContact, "CList", "NotOnList"); } diff --git a/protocols/FacebookRM/src/stdafx.h b/protocols/FacebookRM/src/stdafx.h index 75241dfa99..67cec1b4d3 100644 --- a/protocols/FacebookRM/src/stdafx.h +++ b/protocols/FacebookRM/src/stdafx.h @@ -41,6 +41,7 @@ along with this program. If not, see . #include #include #include +#include #include #include #include -- cgit v1.2.3