This commit is contained in:
Luke Barnard 2017-11-08 10:08:04 +00:00
parent f53f9ed8ca
commit 4bb083d959

View file

@ -812,7 +812,7 @@ export default React.createClass({
) : null; ) : null;
let inviterName = group.inviter.userId; let inviterName = group.inviter.userId;
if(this.state.inviterProfile) { if (this.state.inviterProfile) {
inviterName = this.state.inviterProfile.displayName || group.inviter.userId; inviterName = this.state.inviterProfile.displayName || group.inviter.userId;
} }
return <div className="mx_GroupView_membershipSection mx_GroupView_membershipSection_invited"> return <div className="mx_GroupView_membershipSection mx_GroupView_membershipSection_invited">