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/WebView | |
parent | 91811190c158e4ff97cc94ef93415c12ddf738ed (diff) |
end of manual experiments with CList/NotOnList
Diffstat (limited to 'protocols/WebView')
-rw-r--r-- | protocols/WebView/src/webview_services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/WebView/src/webview_services.cpp b/protocols/WebView/src/webview_services.cpp index c3b412c7e5..6fe8a258a1 100644 --- a/protocols/WebView/src/webview_services.cpp +++ b/protocols/WebView/src/webview_services.cpp @@ -351,8 +351,8 @@ INT_PTR AddToList(WPARAM, LPARAM lParam) // contact visible // and add them on the list sameurl++; - if (db_get_b(hContact, "CList", "NotOnList", 1)) { - db_unset(hContact, "CList", "NotOnList"); + if (!Contact_OnList(hContact)) { + Contact_PutOnList(hContact); Contact_Hide(hContact, false); } } @@ -402,8 +402,8 @@ INT_PTR AddToList(WPARAM, LPARAM lParam) // contact visible // and add them on the list samename++; - if (db_get_b(hContact2, "CList", "NotOnList", 1)) { - db_unset(hContact2, "CList", "NotOnList"); + if (!Contact_OnList(hContact2)) { + Contact_PutOnList(hContact2); Contact_Hide(hContact2, false); } db_free(&dbv); |