Skip to content

Commit 195dc36

Browse files
committed
fix bug - write all callee who accept to call
1 parent 49cecdf commit 195dc36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/webrtc/js/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,8 @@
691691

692692
if (app.currentSession.currentUserID === app.currentSession.initiatorID && !isCallEnded) {
693693
/** get array if users without user who ends call */
694-
takedCallCallee = _.reject(takedCallCallee, function(num){ return num.id !== +userID; });
694+
takedCallCallee = _.reject(takedCallCallee, function(num){ return num.id === +userID; });
695+
695696
qbApp.MsgBoard.update('accept_call', {users: takedCallCallee});
696697
}
697698

0 commit comments

Comments
 (0)