Skip to content

Commit

Permalink
[mirotalksfu] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jul 18, 2024
1 parent e578553 commit d80967f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies: {
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.10
* @version 1.5.11
*
*/

Expand Down Expand Up @@ -2462,9 +2462,9 @@ function startServer() {

const { index, peer_name, peer_uuid } = checkXSS(data);

const isPresenter = await isPeerPresenter(socket.room_id, socket.id, peer_name, peer_uuid);

if (!isPresenter) return;
// Disable for now...
// const isPresenter = await isPeerPresenter(socket.room_id, socket.id, peer_name, peer_uuid);
// if (!isPresenter) return;

const room = roomList.get(socket.room_id);

Expand All @@ -2473,6 +2473,7 @@ function startServer() {
if (roomPolls[index]) {
roomPolls.splice(index, 1);
room.sendToAll('updatePolls', roomPolls);
log.debug('[Poll] deletePoll', roomPolls);
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.5.10",
"version": "1.5.11",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion public/css/Polls.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
position: absolute;
background: var(--body-bg);
padding: 20px;
border-radius: 8px;
border-radius: var(--border-radius);
border: var(--border);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
Expand All @@ -22,6 +22,7 @@
}

.poll-creation {
border-radius: var(--border-radius);
margin-bottom: 20px;
max-height: 480px;
overflow: hidden;
Expand Down
4 changes: 2 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.10
* @version 1.5.11
*
*/

Expand Down Expand Up @@ -4273,7 +4273,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.5.10',
title: 'WebRTC SFU v1.5.11',
html: `
<br />
<div id="about">
Expand Down
2 changes: 1 addition & 1 deletion public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.10
* @version 1.5.11
*
*/

Expand Down

0 comments on commit d80967f

Please sign in to comment.