aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-09-02 20:14:38 +0200
committerGitHub <noreply@github.com>2019-09-02 20:14:38 +0200
commit80d272c31145dd880eb652aa70cc5545d98755b0 (patch)
tree00d994e0f5b9eeead0b37d992a9ba7fdbf15a900 /lib
parent847b76c16e97c1320ffc328e051255f085ccc677 (diff)
parent60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574 (diff)
downloadnextcloud-server-80d272c31145dd880eb652aa70cc5545d98755b0.tar.gz
nextcloud-server-80d272c31145dd880eb652aa70cc5545d98755b0.zip
Merge pull request #16968 from nextcloud/feature/noid/guest-mention-notifications-for-talk
Define a guest type so Talk can use it in it's notifications
Diffstat (limited to 'lib')
-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',