[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -29,7 +29,7 @@ module.exports = class ServerApi {
|
|||||||
|
|
||||||
const roomValue = room || uuidV4();
|
const roomValue = room || uuidV4();
|
||||||
const roomPasswordValue = roomPassword || false;
|
const roomPasswordValue = roomPassword || false;
|
||||||
const nameValue = name || uuidV4();
|
const nameValue = name || 'User-' + this.getRandomNumber();
|
||||||
const audioValue = audio || false;
|
const audioValue = audio || false;
|
||||||
const videoValue = video || false;
|
const videoValue = video || false;
|
||||||
const screenValue = screen || false;
|
const screenValue = screen || false;
|
||||||
@@ -72,4 +72,8 @@ module.exports = class ServerApi {
|
|||||||
jwtToken
|
jwtToken
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getRandomNumber() {
|
||||||
|
return Math.floor(Math.random() * 999999);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم