ignore unknown participant bye
This commit is contained in:
parent
8bfd16a41f
commit
1af74e957d
|
@ -127,6 +127,7 @@ global.createMPPbridge = async function createMPPbridge({room, channel, uri}) {
|
|||
});
|
||||
gClient.prependListener("bye", async msg => {
|
||||
var participant = gClient.ppl[msg.p];
|
||||
if (!participant) return;
|
||||
d.send(`\`${participant._id.substr(0,6)}\` ___**${sanitizeName(participant.name)}** left the room.___`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue