pull/21833/head
Bruno Windels 2018-08-27 18:52:33 +02:00
parent 6a077655e9
commit 06160f5fae
1 changed files with 1 additions and 2 deletions

View File

@ -125,10 +125,9 @@ module.exports = React.createClass({
if (totalMemberCount == 2) {
const myUserId = MatrixClientPeg.get().getUserId();
otherMember = members.find(m => m.userId !== myUserId);
} else if(totalMemberCount == 1) {
} else if (totalMemberCount == 1) {
otherMember = members[0];
}
}
if (otherMember) {
return otherMember.getAvatarUrl(