Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-05-09 18:06:35 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 12:29:27 +0300
commitdb428ea5471a5be5517911b3bf2f3a6d3f86e297 (patch)
tree3921525a302150e75d968a47dff14be79f9ffa3b /lib/public/Federation/ICloudFederationNotification.php
parenta3948e8a126d6f84629841c8886fe0819ab04ad5 (diff)
send accept share notification (WIP)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Federation/ICloudFederationNotification.php')
-rw-r--r--lib/public/Federation/ICloudFederationNotification.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/public/Federation/ICloudFederationNotification.php b/lib/public/Federation/ICloudFederationNotification.php
index 5db93ef0a8c..dcdb5b73bd0 100644
--- a/lib/public/Federation/ICloudFederationNotification.php
+++ b/lib/public/Federation/ICloudFederationNotification.php
@@ -26,15 +26,16 @@ interface ICloudFederationNotification {
/**
* add a message to the notification
*
- * @param string $identifier
- * @param string $message
+ * @param string $notificationType (e.g. SHARE_ACCEPTED)
+ * @param string $resourceType (e.g. file, calendar, contact,...)
+ * @param array $message
*
* @since 14.0.0
*/
- public function setMessage($identifier, $message);
+ public function setMessage($notificationType, $resourceType, array $message);
/**
- * get JSON encoded Message, ready to send out
+ * get message, ready to send out
*
* @return string
*