mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
parent
13b5851b71
commit
a4b945b4a3
@ -149,6 +149,7 @@ export class ChatScreen extends Component<ChatScreenProps, ChatScreenState> {
|
||||
deleteMessage={() => this.setState({
|
||||
messages: this.state.messages.set(props.station, "")
|
||||
})}
|
||||
hideAvatars={props.hideAvatars}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -201,7 +201,10 @@ export class ChatInput extends Component {
|
||||
const sigilClass = props.ownerContact
|
||||
? '' : 'mix-blend-diff';
|
||||
|
||||
const avatar = (props.ownerContact && (props.ownerContact.avatar !== null))
|
||||
const avatar = (
|
||||
props.ownerContact &&
|
||||
((props.ownerContact.avatar !== null) && !props.hideAvatars)
|
||||
)
|
||||
? <img src={props.ownerContact.avatar} height={24} width={24} className="dib" />
|
||||
: <Sigil
|
||||
ship={window.ship}
|
||||
|
Loading…
Reference in New Issue
Block a user