|
@ -2184,11 +2184,9 @@ class Sessions extends RedisModel {
|
|
|
});
|
|
|
function callPush(participants,message){
|
|
|
participants.forEach(function (participant) {
|
|
|
// if (
|
|
|
// // participant.id !== message.sender_id &&
|
|
|
// participant.participant_role == PARTICIPANT_ROLES.HOST) {
|
|
|
if (participant.id !== message.sender_id) {
|
|
|
Sessions.pushNotification(participant.id, participant.name, message,sessionType);
|
|
|
// }
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|