1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Syntax fail

This commit is contained in:
David Baker
2016-08-02 16:07:07 +01:00
parent 10f6ecfe5f
commit a0b973ffad

View File

@@ -132,8 +132,8 @@ module.exports = React.createClass({
if (members.length === 1 &&
invited.length === 1 &&
userIds.indexOf(members[0].userId) !== -1 &&
userIds.indexOf(invited[0].userId) !== -1) &&
invitedRoomId === null
userIds.indexOf(invited[0].userId) !== -1 &&
invitedRoomId === null)
{
invitedRoomId = rooms[i].roomId;
// keep looking: we'll use this one if there's nothing better