Fix join call button in header having two labels (#34293)

Both the tooltip ("Video call") and the aria-label attribute ("Join video call") were trying to set different labels. I propose that the "Video call" tooltip should actually count as a description.
This commit is contained in:
Robin
2026-07-16 10:04:15 +00:00
committed by GitHub
parent f1f3aaad76
commit 6c40c56845
@@ -112,7 +112,7 @@ function RoomHeaderButtons({
const joinCallButton = ( const joinCallButton = (
<Tooltip <Tooltip
label={ description={
videoCallDisabledReason ?? videoCallDisabledReason ??
(activeCallSessionType === CallType.Voice ? _t("voip|voice_call") : _t("voip|video_call")) (activeCallSessionType === CallType.Voice ? _t("voip|voice_call") : _t("voip|video_call"))
} }