Display room avatars

This commit is contained in:
Robin Townsend
2022-05-18 19:00:59 -04:00
parent 183eea9f24
commit 24f721e414
12 changed files with 112 additions and 63 deletions

View File

@@ -148,12 +148,7 @@ export const PTTButton: React.FC<Props> = ({
) : (
<Avatar
key={activeSpeakerUserId}
style={{
width: size - 12,
height: size - 12,
borderRadius: size - 12,
fontSize: Math.round((size - 12) / 2),
}}
size={size - 12}
src={activeSpeakerAvatarUrl}
fallback={activeSpeakerDisplayName.slice(0, 1).toUpperCase()}
className={styles.avatar}