summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2022-06-23 22:17:53 +0200
committerAnna Larch <anna@nextcloud.com>2022-08-22 22:10:12 +0200
commit4ca4b0279372cd6fe11f717ed697f905ecb1e4a2 (patch)
tree6a6c1fbddc1dd6d06e653cd59475a7d4e8be2374 /lib/public
parent2576609aac3555da0926c27b879df610a8b0f43c (diff)
downloadnextcloud-server-4ca4b0279372cd6fe11f717ed697f905ecb1e4a2.tar.gz
nextcloud-server-4ca4b0279372cd6fe11f717ed697f905ecb1e4a2.zip
Support iMIP invitations from Mail
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Calendar/ICreateFromString.php9
-rw-r--r--lib/public/Calendar/IManager.php14
2 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/Calendar/ICreateFromString.php b/lib/public/Calendar/ICreateFromString.php
index 343405e8ab6..8c4bdd44041 100644
--- a/lib/public/Calendar/ICreateFromString.php
+++ b/lib/public/Calendar/ICreateFromString.php
@@ -1,4 +1,6 @@
<?php
+
+declare(strict_types=1);
/**
* @copyright 2021 Anna Larch <anna.larch@gmx.net>
*
@@ -38,4 +40,11 @@ interface ICreateFromString extends ICalendar {
* @throws CalendarException
*/
public function createFromString(string $name, string $calendarData): void;
+
+ /**
+ * @since 25.0.0
+ *
+ * @throws CalendarException
+ */
+ public function handleIMipMessage(string $name, string $calendarData): void;
}
diff --git a/lib/public/Calendar/IManager.php b/lib/public/Calendar/IManager.php
index 7f0eec80910..dd65917d12b 100644
--- a/lib/public/Calendar/IManager.php
+++ b/lib/public/Calendar/IManager.php
@@ -156,4 +156,18 @@ interface IManager {
* @since 23.0.0
*/
public function newQuery(string $principalUri) : ICalendarQuery;
+
+ /**
+ * Handle a iMip REPLY message
+ *
+ * @since 25.0.0
+ */
+ public function handleIMipReply(string $principalUri, string $sender, string $recipient, string $calendarData): bool;
+
+ /**
+ * Handle a iMip CANCEL message
+ *
+ * @since 25.0.0
+ */
+ public function handleIMipCancel(string $principalUri, string $sender, ?string $replyTo, string $recipient, string $calendarData): bool;
}