[mirotalksfu] - fix peerAction...
هذا الالتزام موجود في:
@@ -202,6 +202,7 @@ body {
|
|||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
.tab {
|
.tab {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style the buttons inside the tab */
|
/* Style the buttons inside the tab */
|
||||||
|
|||||||
@@ -2183,6 +2183,9 @@ class RoomClient {
|
|||||||
|
|
||||||
peerAction(from_peer_name, id, action, emit = true, broadcast = false) {
|
peerAction(from_peer_name, id, action, emit = true, broadcast = false) {
|
||||||
let peer_id = id;
|
let peer_id = id;
|
||||||
|
const words = peer_id.split('___');
|
||||||
|
peer_id = words[0];
|
||||||
|
|
||||||
if (emit) {
|
if (emit) {
|
||||||
let data = {
|
let data = {
|
||||||
from_peer_name: this.peer_name,
|
from_peer_name: this.peer_name,
|
||||||
@@ -2193,10 +2196,6 @@ class RoomClient {
|
|||||||
|
|
||||||
if (!broadcast) {
|
if (!broadcast) {
|
||||||
if (participantsCount === 1) return;
|
if (participantsCount === 1) return;
|
||||||
|
|
||||||
const words = peer_id.split('___');
|
|
||||||
peer_id = words[0];
|
|
||||||
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case 'eject':
|
case 'eject':
|
||||||
let peer = this.getId(peer_id);
|
let peer = this.getId(peer_id);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم