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