[mirotalksfu] - #189 - fix join room after successful login

هذا الالتزام موجود في:
Miroslav Pejic
2024-12-31 16:23:30 +01:00
الأصل aa2328736a
التزام ffd83ec4cd
6 ملفات معدلة مع 15 إضافات و6 حذوفات

عرض الملف

@@ -158,7 +158,13 @@ function typeWriter() {
const roomName = document.getElementById('roomName');
if (roomName) {
roomName.value = '';
typeWriter();
if (window.sessionStorage.roomID !== '') {
roomName.value = window.sessionStorage.roomID;
window.sessionStorage.roomID = '';
joinRoom();
} else {
typeWriter();
}
}
// ####################################################################

عرض الملف

@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.67
* @version 1.6.68
*
*/
@@ -4618,7 +4618,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.67',
title: 'WebRTC SFU v1.6.68',
html: `
<br />
<div id="about">

عرض الملف

@@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.67
* @version 1.6.68
*
*/

عرض الملف

@@ -20,6 +20,9 @@ guestJoinRoomBtn.classList.add('disabled');
const pathParts = window.location.pathname.split('/');
const roomId = filterXSS(pathParts[pathParts.length - 1]);
// Store the room in the session for auto-join from the landing page after successful login
window.sessionStorage.roomID = roomId;
let intervalId = null;
let roomActive = false;