From 630a49bbdfbbe69d45ad2d9752ec77aee2410a3e Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Mon, 3 Jun 2019 13:31:37 +1000 Subject: [PATCH] [buteo-sync-plugins-social] Store the google calendar id to SharedWith field. Contributes to JB#45600 --- src/google/google-calendars/googlecalendarsyncadaptor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/google/google-calendars/googlecalendarsyncadaptor.cpp b/src/google/google-calendars/googlecalendarsyncadaptor.cpp index 23341aa..02dd8d6 100644 --- a/src/google/google-calendars/googlecalendarsyncadaptor.cpp +++ b/src/google/google-calendars/googlecalendarsyncadaptor.cpp @@ -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;