From e441a31e9f912fc8e9244d16560565559b1924d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 23:43:06 +0300 Subject: end of manual experiments with CList/NotOnList --- protocols/ICQCorp/src/protocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/ICQCorp/src') diff --git a/protocols/ICQCorp/src/protocol.cpp b/protocols/ICQCorp/src/protocol.cpp index ad23549195..c448e4a15e 100644 --- a/protocols/ICQCorp/src/protocol.cpp +++ b/protocols/ICQCorp/src/protocol.cpp @@ -1256,7 +1256,7 @@ ICQUser* ICQ::addUser(unsigned int uin, bool persistent) u = icqUsers[i]; if (u->dwUIN == uin) { if (persistent) { - db_unset(u->hContact, "CList", "NotOnList"); + Contact_PutOnList(u->hContact); Contact_Hide(u->hContact, false); } return u; @@ -1274,7 +1274,7 @@ ICQUser* ICQ::addUser(unsigned int uin, bool persistent) if (persistent) getUserInfo(u, true); else { - db_set_b(u->hContact, "CList", "NotOnList", 1); + Contact_RemoveFromList(u->hContact); Contact_Hide(u->hContact); } -- cgit v1.2.3