Fix other users doesn't change talking state

This commit is contained in:
Tainan Felipe 2019-03-12 09:11:30 -03:00
parent aa2664d9dd
commit 8ddf7c2b30

View File

@ -11,7 +11,12 @@ function voiceUser(credentials) {
Logger.debug(`Publishing Voice User for ${meetingId} ${requesterUserId}`);
return VoiceUsers.find({ intId: requesterUserId });
return VoiceUsers.find({
$or: [
{ intId: requesterUserId },
{ meetingId },
],
});
}
function publish(...args) {