瀏覽代碼

代码修改

LAPTOP-KB9HII50\70708 3 年之前
父節點
當前提交
65bc03ff8a
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/server/models/sessions/sessions.js

+ 2 - 4
src/server/models/sessions/sessions.js

@ -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);
                // }
                }
            });
        }
    }