From 745b707cd9944e2012877943c814be1f3f36750f 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 4b5b0da978..218d7f55ab 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 377e5364171dff12833e2f332b6b0dfdf755646c 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 218d7f55ab..f1208ae0f2 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' => [