diff options
author | Vitor Mattos <vitor@php.rio> | 2023-03-16 14:35:32 -0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-04-04 17:08:48 +0200 |
commit | 557fab130dce15a841e68c4316596b2fe706ef95 (patch) | |
tree | 5a165092e7b10c27d2992064a9c27be229202703 /lib/Notification/Notifier.php | |
parent | 9c9fbdd2a2f66eaf8b07f6bbab2d3f9669921e1d (diff) |
Document icon-url on call rich objects
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/Notification/Notifier.php')
-rw-r--r-- | lib/Notification/Notifier.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 9eb13abf7..1cc59b38a 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -322,6 +322,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $room->getDisplayName($participant->getAttendee()->getActorId()), 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], ] ); @@ -385,6 +386,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $room->getDisplayName($participant->getAttendee()->getActorId()), 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], 'file' => [ 'type' => 'file', @@ -481,6 +483,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $room->getDisplayName($notification->getUser()), 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ]; $messageParameters = $notification->getMessageParameters(); @@ -777,6 +780,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $roomName, 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], ] ); @@ -802,6 +806,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $roomName, 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], ] ); @@ -853,6 +858,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $roomName, 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], ] ); @@ -877,6 +883,7 @@ class Notifier implements INotifier { 'id' => $room->getId(), 'name' => $roomName, 'call-type' => $this->getRoomType($room), + 'icon-url' => $room->getAvatar(), ], ] ); |