From 5336f952ebaeacf8ef576d11e4b34b9867a2746d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 16 Jan 2017 18:41:00 +0100 Subject: [PATCH 1/2] Define spreed calls Signed-off-by: Joas Schilling --- lib/public/RichObjectStrings/Definitions.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index fbde439c47a..fce49bcce4b 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -152,6 +152,25 @@ class Definitions { ], ], ], + 'call' => [ + 'author' => 'Nextcloud', + 'app' => 'spreed', + 'since' => '11.0.2', + 'parameters' => [ + 'id' => [ + 'since' => '11.0.2', + 'required' => true, + 'description' => 'The id used to identify the call on the instance', + 'example' => '42', + ], + 'name' => [ + 'since' => '11.0.2', + 'required' => true, + 'description' => 'The display name of the call which should be used in the visual representation', + 'example' => 'Company call', + ], + ], + ], 'email' => [ 'author' => 'Nextcloud', 'app' => 'sharebymail', From 1bbbbde7f219b88b2d2492467e5221ef3865ca68 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 17 Jan 2017 10:08:02 +0100 Subject: [PATCH 2/2] Add call-type in case the information shall be used for styling or something else in the future Signed-off-by: Joas Schilling --- lib/public/RichObjectStrings/Definitions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index fce49bcce4b..ad6a5bfb985 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -169,6 +169,12 @@ class Definitions { 'description' => 'The display name of the call which should be used in the visual representation', 'example' => 'Company call', ], + 'call-type' => [ + 'since' => '11.0.2', + 'required' => true, + 'description' => 'The type of the call: one2one, group or public', + 'example' => 'one2one', + ], ], ], 'email' => [