From 208bb8f4d4e7578c7899efa3104ed83eea2adce3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Mar 2026 13:42:16 +0100 Subject: [PATCH] fix(videoverification): Fix missing "can start call" permission in video verification Signed-off-by: Joas Schilling --- lib/Service/RoomFormatter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Service/RoomFormatter.php b/lib/Service/RoomFormatter.php index 0d02f4c44f5..7682386a336 100644 --- a/lib/Service/RoomFormatter.php +++ b/lib/Service/RoomFormatter.php @@ -379,7 +379,9 @@ public function formatRoomV4( return $roomData; } - $roomData['canStartCall'] = $currentParticipant->canStartCall($this->serverConfig); + $roomData['canStartCall'] = $currentParticipant->canStartCall($this->serverConfig) + || ($room->getType() === Room::TYPE_PUBLIC + && $room->getObjectType() === Room::OBJECT_TYPE_VIDEO_VERIFICATION); // FIXME This should not be done, but currently all the clients use it to get the avatar of the user … if ($room->getType() === Room::TYPE_ONE_TO_ONE) {