aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-10-16 17:18:45 +0200
committerAnna Larch <anna@nextcloud.com>2024-10-16 17:18:45 +0200
commitcafe5ec539a611c6f70f83e7ab2ec02a7b9e2f18 (patch)
treef1eeb59b0ed045a7343ccdf088b18b0fa89d5975 /apps/dav/lib/CalDAV
parentdc92218d6d3a53e6e8c825ed4efb080364259156 (diff)
downloadnextcloud-server-cafe5ec539a611c6f70f83e7ab2ec02a7b9e2f18.tar.gz
nextcloud-server-cafe5ec539a611c6f70f83e7ab2ec02a7b9e2f18.zip
fix(caldav): broken activity rich objectsfix/broken-event-notifications
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r--apps/dav/lib/CalDAV/Activity/Provider/Base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Base.php b/apps/dav/lib/CalDAV/Activity/Provider/Base.php
index a063a31d015..14e68cc6a3d 100644
--- a/apps/dav/lib/CalDAV/Activity/Provider/Base.php
+++ b/apps/dav/lib/CalDAV/Activity/Provider/Base.php
@@ -52,14 +52,14 @@ abstract class Base implements IProvider {
$data['name'] === CalDavBackend::PERSONAL_CALENDAR_NAME) {
return [
'type' => 'calendar',
- 'id' => $data['id'],
+ 'id' => (string)$data['id'],
'name' => $l->t('Personal'),
];
}
return [
'type' => 'calendar',
- 'id' => $data['id'],
+ 'id' => (string)$data['id'],
'name' => $data['name'],
];
}
@@ -72,7 +72,7 @@ abstract class Base implements IProvider {
protected function generateLegacyCalendarParameter($id, $name) {
return [
'type' => 'calendar',
- 'id' => $id,
+ 'id' => (string)$id,
'name' => $name,
];
}