]> source.dussan.org Git - nextcloud-server.git/commitdiff
Define a guest type so Talk can use it in it's notifications 16968/head
authorJoas Schilling <coding@schilljs.com>
Mon, 2 Sep 2019 12:56:50 +0000 (14:56 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 2 Sep 2019 12:56:50 +0000 (14:56 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/RichObjectStrings/Definitions.php

index 69cabe638ad6ea52a5e120719b5fac146f62c22a..3476777e0db848fb3eb62ce86025a0cc392a3a76 100644 (file)
@@ -268,6 +268,25 @@ class Definitions {
                                ],
                        ],
                ],
+               'guest' => [
+                       'author' => 'Nextcloud',
+                       'app' => 'spreed',
+                       'since' => '17.0.0',
+                       'parameters' => [
+                               'id' => [
+                                       'since' => '17.0.0',
+                                       'required' => true,
+                                       'description' => 'The id used to identify the guest user',
+                                       'example' => '42',
+                               ],
+                               'name' => [
+                                       'since' => '17.0.0',
+                                       'required' => true,
+                                       'description' => 'Potential displayname of the guest user',
+                                       'example' => 'Foobar Cats',
+                               ],
+                       ],
+               ],
                'highlight' => [
                        'author' => 'Nextcloud',
                        'app' => 'core',