diff options
author | Vitor Mattos <vitor@php.rio> | 2023-05-03 06:26:40 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-05-03 06:26:40 -0300 |
commit | 0ce23663e3aa5870b5cd0cd2db4e012dc811d40b (patch) | |
tree | 34078ccc6707b0d63c3b6bff660e20cf6c15012a /lib | |
parent | 21bc57c6492dda5712dd7f30877403b358ab8643 (diff) |
Return isCustomAvatar=true when the name of room start with an emoji
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/RoomFormatter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/RoomFormatter.php b/lib/Service/RoomFormatter.php index 741b6f0c2..f0b834131 100644 --- a/lib/Service/RoomFormatter.php +++ b/lib/Service/RoomFormatter.php @@ -136,7 +136,7 @@ class RoomFormatter { 'callFlag' => Participant::FLAG_DISCONNECTED, 'messageExpiration' => 0, 'avatarVersion' => $this->avatarService->getAvatarVersion($room), - 'isCustomAvatar' => $room->getAvatar() ? true : false, + 'isCustomAvatar' => $this->avatarService->isCustomAvatar($room), 'breakoutRoomMode' => BreakoutRoom::MODE_NOT_CONFIGURED, 'breakoutRoomStatus' => BreakoutRoom::STATUS_STOPPED, ]; |