diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-23 00:34:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-23 00:34:40 +0300 |
commit | a9195c3feeb2bc1ad1a7d1194447449d02e6e2a1 (patch) | |
tree | c6d498dbe30d34dd229ad7ff4cd0a07f6517feaa /plugins/Import | |
parent | a44a74bcd4d4515bffe20bc6ff20b270bc200693 (diff) |
fix for importing metas
Diffstat (limited to 'plugins/Import')
-rw-r--r-- | plugins/Import/src/import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|