mirror of https://github.com/vector-im/riot-web
fix lint
parent
6a077655e9
commit
06160f5fae
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue