diff options
author | George Hazan <ghazan@miranda.im> | 2019-06-27 21:23:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-06-27 21:23:35 +0300 |
commit | 44525f461757fc859616fda16820351b07238842 (patch) | |
tree | 117ad05514eed381fc13dcf8befcf0ff06023e57 /protocols/NewsAggregator/Src | |
parent | 810ed4dea67b54a18f6ec3f5273d2f8efe08708c (diff) |
manual access to CList/Group restricted
Diffstat (limited to 'protocols/NewsAggregator/Src')
-rw-r--r-- | protocols/NewsAggregator/Src/Options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/NewsAggregator/Src/Options.cpp b/protocols/NewsAggregator/Src/Options.cpp index 6239ce15c1..986051a6bf 100644 --- a/protocols/NewsAggregator/Src/Options.cpp +++ b/protocols/NewsAggregator/Src/Options.cpp @@ -229,7 +229,7 @@ void CExportFeed::OnOk(CCtrlBase*) *title = g_plugin.getWStringA(hContact, "Nick"), *url = g_plugin.getWStringA(hContact, "URL"), *siteurl = g_plugin.getWStringA(hContact, "Homepage"), - *group = db_get_wsa(hContact, "CList", "Group"); + *group = Clist_GetGroup(hContact); TiXmlElement *elem = xmlBody; if (group) { @@ -579,8 +579,8 @@ void CImportFeed::OnOk(CCtrlBase*) } if (!wszGroup.IsEmpty()) { - db_set_ws(hContact, "CList", "Group", wszGroup); Clist_GroupCreate(0, wszGroup); + Clist_SetGroup(hContact, wszGroup); } } mir_free(text); |