message: Fix SenderProfile
diff: @@ -27,23 +27,22 @@ export default function SenderProfile(props) {
  const name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
  const {msgtype} = mxEvent.getContent();
  - // Display sender name by default if nothing else is given
  - const text = props.text ? props.text : '%(senderName)s';
  -
  if (msgtype === 'm.emote') {
  return <span />; // emote message must include the name so don't duplicate it
  }
  // Name + flair
  const nameElem = [
  - <EmojiText className="mx_SenderProfile_name">{ name || '' }</EmojiText>,
  + <EmojiText key='name' className="mx_SenderProfile_name">{ name || '' }</EmojiText>,
  props.enableFlair ?
  - <Flair
  + <Flair key='flair'
  userId={mxEvent.getSender()}
  roomId={mxEvent.getRoomId()}
  showRelated={true} />
  : null,
  - ]
  + ];
  +
  + let content = '';
  if(props.text) {
  // Replace senderName, and wrap surrounding text in spans with the right class
  