From 999c52b650abf6ea3d455b5f7cc9993f5353ea52 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 17 Jul 2016 19:00:22 +0100 Subject: [PATCH] fix 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 e60a717c3e..63ce78340c 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 not in a 1:1 with this user, start a new chat + // if our current room is a 1:1 with the target user, start a new chat rather than NOOPing if (currentMembers && currentMembers.length === 2 && userIds.indexOf(currentMembers[0].userId) !== -1 && userIds.indexOf(currentMembers[1].userId) !== -1)