mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 10:51:13 +02:00
fix lint
This commit is contained in:
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…
x
Reference in New Issue
Block a user