diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-02 14:56:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-02 14:56:50 +0200 |
commit | 60fe0d7fc4fb6fc0e6d0f9d905bd2ef340d22574 (patch) | |
tree | c5ee11dbb1809bf5c4d421faaee0f62343d44f8b /lib/public/RichObjectStrings | |
parent | daf89e6b34515222b55bdd6bc32c9001664ac548 (diff) | |
download | nextcloud-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>
Diffstat (limited to 'lib/public/RichObjectStrings')
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 19 |
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', |