Swap rejoin / forget

This commit is contained in:
David Baker 2017-02-17 16:11:20 +00:00
parent 9f9de46b10
commit a3aea6ba2d

View file

@ -152,15 +152,15 @@ module.exports = React.createClass({
}
let rejoinBlock;
if (!banned) {
rejoinBlock = <a onClick={ this.props.onJoinClick }><b>Rejoin</b></a>;
rejoinBlock = <div><a onClick={ this.props.onJoinClick }><b>Rejoin</b></a></div>;
}
joinBlock = (
<div>
<div className="mx_RoomPreviewBar_join_text">
You have been {verb} from {roomName} by {kicker.displayName}.<br />
{reason}
<a onClick={ this.props.onForgetClick }><b>Forget</b></a><br />
{rejoinBlock}
<a onClick={ this.props.onForgetClick }><b>Forget</b></a>
</div>
</div>
);