Commit 630a49bb authored by chriadam's avatar chriadam

[buteo-sync-plugins-social] Store the google calendar id to SharedWith field....

[buteo-sync-plugins-social] Store the google calendar id to SharedWith field. Contributes to JB#45600
parent 4824df51
......@@ -2122,6 +2122,7 @@ void GoogleCalendarSyncAdaptor::applyRemoteChangesLocally(int accountId)
notebook->setColor(m_serverCalendarIdToCalendarInfo[accountId].value(serverCalendarId).color);
notebook->setDescription(m_serverCalendarIdToCalendarInfo[accountId].value(serverCalendarId).description);
notebook->setPluginName(QStringLiteral("google-") + serverCalendarId);
notebook->setSharedWith(QStringList() << serverCalendarId);
notebook->setAccount(QString::number(accountId));
m_storage->addNotebook(notebook);
m_storageNeedsSave = true;
......
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