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/Sametime/src/sametime_proto.cpp | 4 ++-- protocols/Sametime/src/userlist.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Sametime/src') diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp index 7feebbafc2..ca657be854 100644 --- a/protocols/Sametime/src/sametime_proto.cpp +++ b/protocols/Sametime/src/sametime_proto.cpp @@ -170,7 +170,7 @@ int CSametimeProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre) { debugLogW(L"CSametimeProto::RecvFile() hContact=[%x]", hContact); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); db_unset(hContact, "CList", "NotOnList"); return CSuper::RecvFile(hContact, pre); @@ -180,7 +180,7 @@ MEVENT CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) { debugLogW(L"CSametimeProto::RecvMsg() hContact=[%x]", hContact); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); db_unset(hContact, "CList", "NotOnList"); return CSuper::RecvMsg(hContact, pre); diff --git a/protocols/Sametime/src/userlist.cpp b/protocols/Sametime/src/userlist.cpp index ea482a1122..0ebbce3d22 100644 --- a/protocols/Sametime/src/userlist.cpp +++ b/protocols/Sametime/src/userlist.cpp @@ -70,7 +70,7 @@ MCONTACT CSametimeProto::AddContact(mwSametimeUser* user, bool temporary) } else if (!temporary) { db_unset(hContact, "CList", "NotOnList"); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } @@ -105,11 +105,11 @@ MCONTACT CSametimeProto::AddContact(mwSametimeUser* user, bool temporary) if (temporary) { db_set_b(hContact, "CList", "NotOnList", 1); - Clist_HideContact(hContact); + Contact_Hide(hContact); } else { db_unset(hContact, "CList", "NotOnList"); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } return hContact; -- cgit v1.2.3