chat-js: slightly cleaner sig string

This commit is contained in:
Jimmy 2020-02-10 19:55:57 -08:00 committed by Logan Allen
parent 8b8472f231
commit e10b6784ae
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -167,7 +167,7 @@ export class Message extends Component {
let color = "#000000";
if (contact) {
name = (contact.nickname.length > 0)
? contact.nickname : "~" + props.msg.author;
? contact.nickname : `~${props.msg.author}`;
color = `#${uxToHex(contact.color)}`;
}
return (