Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[buteo-sync-plugins-social] Store the google calendar id to SharedWit…
…h field. Contributes to JB#45600
  • Loading branch information
Chris Adams committed Jun 3, 2019
1 parent 4824df5 commit 630a49b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google/google-calendars/googlecalendarsyncadaptor.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 630a49b

Please sign in to comment.