From 8283b3124c63c2a9cb3c338ba24cd42039a2e3c8 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 16 Mar 2023 13:49:21 -0300 Subject: Document talk icon url definition https://github.com/nextcloud/spreed/pull/8333 introduced an optional `icon-url` for the call objects in rich messages. https://github.com/nextcloud/spreed/issues/8389 Signed-off-by: Vitor Mattos --- lib/public/RichObjectStrings/Definitions.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/public') diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 57da9f4eb30..3ee113077a3 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -9,6 +9,7 @@ * @author Roeland Jago Douma * @author Thomas Citharel * @author Vincent Petry + * @author Vitor Mattos * * @license GNU AGPL version 3 or any later version * @@ -192,6 +193,12 @@ class Definitions { 'description' => 'The link to the conversation', 'example' => 'https://localhost/index.php/call/R4nd0mToken', ], + 'icon-url' => [ + 'since' => '27.0.0', + 'required' => false, + 'description' => 'The icon url to use as avatar', + 'example' => 'https://localhost/index.php/api/v1/room/R4nd0mToken/avatar' + ], ], ], 'circle' => [ -- cgit v1.2.3 From a62521faae7c4792d30b8f272bc30e33aa9a45da Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 20 Mar 2023 08:28:07 -0300 Subject: Fix the example URL https://github.com/nextcloud/server/pull/37278/files#r1141955740 Signed-off-by: Vitor Mattos --- lib/public/RichObjectStrings/Definitions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public') diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 3ee113077a3..8e007d28059 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -197,7 +197,7 @@ class Definitions { 'since' => '27.0.0', 'required' => false, 'description' => 'The icon url to use as avatar', - 'example' => 'https://localhost/index.php/api/v1/room/R4nd0mToken/avatar' + 'example' => 'https://localhost/ocs/v2.php/apps/spreed/api/v1/room/R4nd0mToken/avatar' ], ], ], -- cgit v1.2.3