aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2023-03-16 13:49:21 -0300
committerVitor Mattos <vitor@php.rio>2023-03-16 13:49:21 -0300
commit8283b3124c63c2a9cb3c338ba24cd42039a2e3c8 (patch)
treea73d65991b854d8e313e718e07221970b844ed23 /lib/public
parent1001769aed2ef02391a43e6d15269c395da361e1 (diff)
downloadnextcloud-server-8283b3124c63c2a9cb3c338ba24cd42039a2e3c8.tar.gz
nextcloud-server-8283b3124c63c2a9cb3c338ba24cd42039a2e3c8.zip
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 <vitor@php.rio>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php7
1 files changed, 7 insertions, 0 deletions
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 <roeland@famdouma.nl>
* @author Thomas Citharel <nextcloud@tcit.fr>
* @author Vincent Petry <vincent@nextcloud.com>
+ * @author Vitor Mattos <vitor@php.rio>
*
* @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' => [