From a9195c3feeb2bc1ad1a7d1194447449d02e6e2a1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Mar 2018 00:34:40 +0300 Subject: fix for importing metas --- plugins/Import/src/import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp index b727d7f7d9..895c3d203e 100644 --- a/plugins/Import/src/import.cpp +++ b/plugins/Import/src/import.cpp @@ -655,7 +655,7 @@ void ImportMeta(DBCachedContact *ccSrc) // do we need to add a new metacontact? if (hDest == INVALID_CONTACT_ID) { hDest = db_add_contact(); - Proto_AddToContact(hDest, META_PROTO); + db_set_s(hDest, "Protocol", "p", META_PROTO); CopySettings(ccSrc->contactID, META_PROTO, hDest, META_PROTO); ccDst = dstDb->m_cache->GetCachedContact(hDest); -- cgit v1.2.3