mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Syntax fail
This commit is contained in:
parent
10f6ecfe5f
commit
a0b973ffad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue