Fixed #59 : Consistant channel avatar bg

This commit is contained in:
unknown 2021-08-17 17:04:21 +05:30
commit d7e3e70430
3 changed files with 5 additions and 3 deletions

View file

@ -27,7 +27,7 @@ function ChannelViewHeader({ roomId }) {
return (
<Header>
<Avatar imageSrc={avatarSrc} text={roomName.slice(0, 1)} bgColor={colorMXID(roomName)} size="small" />
<Avatar imageSrc={avatarSrc} text={roomName.slice(0, 1)} bgColor={colorMXID(roomId)} size="small" />
<TitleWrapper>
<Text variant="h2">{roomName}</Text>
{ typeof roomTopic !== 'undefined' && <p title={roomTopic} className="text text-b3">{roomTopic}</p>}