aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-09-02 14:56:50 +0200
committerJoas Schilling <coding@schilljs.com>2019-09-02 14:56:50 +0200
commit60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574 (patch)
treec5ee11dbb1809bf5c4d421faaee0f62343d44f8b
parentdaf89e6b34515222b55bdd6bc32c9001664ac548 (diff)
downloadnextcloud-server-60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574.tar.gz
nextcloud-server-60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574.zip
Define a guest type so Talk can use it in it's notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/public/RichObjectStrings/Definitions.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 69cabe638ad..3476777e0db 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -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',