@ejfdelgado/ejflab-back 1.32.2 → 1.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/srv/SocketIOCall.mjs
CHANGED
@@ -396,8 +396,10 @@ export class SocketIOCall {
|
|
396
396
|
socketId: socket.id
|
397
397
|
});
|
398
398
|
const room = headers.room;
|
399
|
+
const remainingIds = SocketIOCall.mapSockets[room];
|
400
|
+
console.log(`Sending updateUserList to ${room} with ${remainingIds}`);
|
399
401
|
SocketIOCall.io.to(room).emit("updateUserList", {
|
400
|
-
socketIds:
|
402
|
+
socketIds: remainingIds
|
401
403
|
});
|
402
404
|
}
|
403
405
|
|
@@ -12,6 +12,8 @@ export class OpenVideoChatProcessor extends GenericProcessor {
|
|
12
12
|
const socketId = this.context.getSocketIdFromRoomAndUUID("public", args.uuid);
|
13
13
|
this.io.to(socketId).emit("openVideoChat", {
|
14
14
|
room: args.room,
|
15
|
+
providerName: args.providerName,
|
16
|
+
providerTitle: args.providerTitle,
|
15
17
|
});
|
16
18
|
}
|
17
19
|
}
|