From bfe50c209c2a44087b4ffdd17a7f32f4c48edc3c Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 16 Jul 2016 22:49:06 +0100 Subject: [PATCH] fix typo in comment --- src/components/views/rooms/MemberInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MemberInfo.js b/src/components/views/rooms/MemberInfo.js index 0e14776e82..e60a717c3e 100644 --- a/src/components/views/rooms/MemberInfo.js +++ b/src/components/views/rooms/MemberInfo.js @@ -366,7 +366,7 @@ module.exports = React.createClass({ var currentRoom = MatrixClientPeg.get().getRoom(this.props.member.roomId); 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 && userIds.indexOf(currentMembers[0].userId) !== -1 && userIds.indexOf(currentMembers[1].userId) !== -1)