diff --git a/src/contacts/contactsservice.cpp b/src/contacts/contactsservice.cpp --- a/src/contacts/contactsservice.cpp +++ b/src/contacts/contactsservice.cpp @@ -713,6 +713,9 @@ /* IMs */ const QString im_str = QStringLiteral(""); + Q_FOREACH(const auto &impp, contact->imppList()) { + output.append(im_str.arg(impp.address().path(), Contact::IMProtocolNameToScheme(impp.serviceType()), Utils::bool2Str(impp.isPreferred())).toUtf8()); + } Q_FOREACH(const QString &im, contact->customs()) { if (im.startsWith(QLatin1String("messaging/"))) { QString key = im.left(im.indexOf(QLatin1Char(':')));