diff --git a/pkg/interface/src/apps/chat/components/chat.tsx b/pkg/interface/src/apps/chat/components/chat.tsx index dccd4ea7e3..ba41679cbd 100644 --- a/pkg/interface/src/apps/chat/components/chat.tsx +++ b/pkg/interface/src/apps/chat/components/chat.tsx @@ -385,7 +385,8 @@ export class ChatScreen extends Component { paddingTop={paddingTop} paddingBot={paddingBot} pending={Boolean(msg.pending)} - group={props.association} + group={props.group} + association={props.association} /> ); if (unread > 0 && i === unread - 1) { diff --git a/pkg/interface/src/apps/chat/components/lib/profile-overlay.js b/pkg/interface/src/apps/chat/components/lib/profile-overlay.js index d934dd7962..e679e9e38d 100644 --- a/pkg/interface/src/apps/chat/components/lib/profile-overlay.js +++ b/pkg/interface/src/apps/chat/components/lib/profile-overlay.js @@ -54,7 +54,7 @@ export class ProfileOverlay extends Component { ? '/~groups/me' : `/~groups/view${association['group-path']}/${window.ship}`; - const img = (contact && (contact.avatar !== null)) + let img = (contact && (contact.avatar !== null)) ? : ; + if (!group.hidden) { + img = {img}; + } + return (