- {
- /* If the user is speaking, it's safe to say they're unmuted.
+ <>
+
+ {toolbarButtons.length > 0 && !maximised && (
+ {toolbarButtons}
+ )}
+ {videoMuted && (
+ <>
+
+ {getAvatar(item.member, targetWidth, targetHeight)}
+ >
+ )}
+ {!maximised &&
+ (screenshare ? (
+
+ {t("{{name}} is presenting", { name })}
+
+ ) : (
+
+ {
+ /* If the user is speaking, it's safe to say they're unmuted.
Mute state is currently sent over to-device messages, which
aren't quite real-time, so this is an important kludge to make
sure no one appears muted when they've clearly begun talking. */
- speaking || !audioMuted ? :
- }
-
- {caption}
-
-
- ))}
-
-
+ speaking || !audioMuted ?
:
+ }
+
+ {caption}
+
+
+ ))}
+