Fix issue with "props.aux" being inserted instead of e.g. "sent an image"

This commit is contained in:
Luke Barnard 2017-09-19 16:36:30 +01:00
parent b4ed9d7c87
commit 7414d4d1f9

View file

@ -34,7 +34,7 @@ export default function SenderProfile(props) {
<div className="mx_SenderProfile" dir="auto" onClick={props.onClick}>
<EmojiText>{name || ''}</EmojiText>
{props.enableFlair ? <Flair userId={mxEvent.getSender()} /> : null}
{props.aux ? <EmojiText> props.aux</EmojiText> : null}
{props.aux ? <EmojiText> {props.aux}</EmojiText> : null}
</div>
);
}