mirror of https://github.com/vector-im/riot-web
Match consistency
parent
55ceb2abd6
commit
feaa5f31ea
|
@ -318,7 +318,7 @@ function _onAction(payload) {
|
||||||
break;
|
break;
|
||||||
case 'hangup_conference':
|
case 'hangup_conference':
|
||||||
console.info("Leaving conference call in %s", payload.room_id);
|
console.info("Leaving conference call in %s", payload.room_id);
|
||||||
_hangupWithCallApp(payload.room_id);
|
_hangupCallApp(payload.room_id);
|
||||||
break;
|
break;
|
||||||
case 'incoming_call':
|
case 'incoming_call':
|
||||||
{
|
{
|
||||||
|
@ -450,7 +450,7 @@ function _terminateCallApp(roomId) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function _hangupWithCallApp(roomId) {
|
function _hangupCallApp(roomId) {
|
||||||
const roomInfo = WidgetStore.instance.getRoom(roomId);
|
const roomInfo = WidgetStore.instance.getRoom(roomId);
|
||||||
if (!roomInfo) return; // "should never happen" clauses go here
|
if (!roomInfo) return; // "should never happen" clauses go here
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue