summaryrefslogtreecommitdiff
path: root/plugins/Import
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-26 15:28:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-26 15:28:50 +0300
commite235eb879d869634581a5701af72d28f4b3d404d (patch)
tree2b2b868b0a2bce591740f95201128f36b7383d6a /plugins/Import
parent20b8bac7a81b0ec3838d4bc972528cfc53572bd8 (diff)
Import: converted group chats become usual contacts
Diffstat (limited to 'plugins/Import')
-rw-r--r--plugins/Import/src/import.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index 5d90bbd9a2..a7bf297e11 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -841,6 +841,9 @@ static MCONTACT ImportContact(MCONTACT hSrc)
return INVALID_CONTACT_ID;
}
+ if (bIsChat)
+ db_set_b(hDst, pda->pa->szModuleName, "ChatRoom", 1);
+
arContactMap.insert(new ContactMap(hSrc, hDst));
ImportContactSettings(pda, hSrc, hDst);
return hDst;