Commit 851c28c5 authored by Shashwat Jolly's avatar Shashwat Jolly

Ignore non-EteSync collection types

While fetching collections from the server, ignore non-EteSync collections, which is everything apart from "etebase.vevent", "etebase.vcard" and "etebase.vtodo".
As EteSync v2 supports notes, a new type would have to be added here later to support them.
parent 460ef2d2
......@@ -146,7 +146,8 @@ void JournalsFetchJob::setupCollection(Akonadi::Collection &collection, const Et
attr->setDisplayName(displayName);
attr->setIconName(QStringLiteral("view-pim-tasks"));
} else {
qCWarning(ETESYNC_LOG) << "Unknown journal type. Cannot set collection mime type.";
qCInfo(ETESYNC_LOG) << "Unknown collection type. Cannot set collection mime type.";
return;
}
const QString journalUid = QString::fromUtf8(etebase_collection_get_uid(etesyncCollection));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment