fix typo in comment
This commit is contained in:
parent
16665b9ca3
commit
bfe50c209c
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ module.exports = React.createClass({
|
||||||
var currentRoom = MatrixClientPeg.get().getRoom(this.props.member.roomId);
|
var currentRoom = MatrixClientPeg.get().getRoom(this.props.member.roomId);
|
||||||
currentMembers = currentRoom.getJoinedMembers();
|
currentMembers = currentRoom.getJoinedMembers();
|
||||||
}
|
}
|
||||||
// if we're currently in a 1:1 with this user, start a new chat
|
// if we're currently not in a 1:1 with this user, start a new chat
|
||||||
if (currentMembers && currentMembers.length === 2 &&
|
if (currentMembers && currentMembers.length === 2 &&
|
||||||
userIds.indexOf(currentMembers[0].userId) !== -1 &&
|
userIds.indexOf(currentMembers[0].userId) !== -1 &&
|
||||||
userIds.indexOf(currentMembers[1].userId) !== -1)
|
userIds.indexOf(currentMembers[1].userId) !== -1)
|
||||||
|
|
Loading…
Reference in a new issue