diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-27 23:43:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-27 23:43:06 +0300 |
commit | e441a31e9f912fc8e9244d16560565559b1924d2 (patch) | |
tree | e9d47703f0e56bb5745e7e4e842d14ce989fe86d /protocols/ICQCorp/src | |
parent | 91811190c158e4ff97cc94ef93415c12ddf738ed (diff) |
end of manual experiments with CList/NotOnList
Diffstat (limited to 'protocols/ICQCorp/src')
-rw-r--r-- | protocols/ICQCorp/src/protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
}
|