Make end call button work for conf calls
This commit is contained in:
parent
cb89d3760a
commit
5004a3a5b3
2 changed files with 16 additions and 5 deletions
|
@ -264,9 +264,16 @@ if (!global.mxCallHandler) {
|
|||
|
||||
var callHandler = {
|
||||
getCallForRoom: function(roomId) {
|
||||
return (
|
||||
module.exports.getCall(roomId)
|
||||
);
|
||||
var call = module.exports.getCall(roomId);
|
||||
if (call) return call;
|
||||
|
||||
if (Modulator.hasConferenceHandler()) {
|
||||
var ConferenceHandler = Modulator.getConferenceHandler();
|
||||
call = ConferenceHandler.getConferenceCallForRoom(roomId);
|
||||
}
|
||||
if (call) return call;
|
||||
|
||||
return null;
|
||||
},
|
||||
|
||||
getCall: function(roomId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue