mirror of https://github.com/vector-im/riot-web
Merge pull request #5627 from matrix-org/dbkr/fix_the_infernal_percent_s
Fix the %s in logspull/21833/head
commit
22dfa91631
|
@ -583,7 +583,7 @@ export default class CallHandler {
|
||||||
return source;
|
return source;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.error("Unknown conf call type: %s", type);
|
console.error("Unknown conf call type: " + type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -617,7 +617,7 @@ export default class CallHandler {
|
||||||
|
|
||||||
const room = MatrixClientPeg.get().getRoom(payload.room_id);
|
const room = MatrixClientPeg.get().getRoom(payload.room_id);
|
||||||
if (!room) {
|
if (!room) {
|
||||||
console.error("Room %s does not exist.", payload.room_id);
|
console.error(`Room ${payload.room_id} does not exist.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -628,7 +628,7 @@ export default class CallHandler {
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
} else if (members.length === 2) {
|
} else if (members.length === 2) {
|
||||||
console.info("Place %s call in %s", payload.type, payload.room_id);
|
console.info(`Place ${payload.type} call in ${payload.room_id}`);
|
||||||
|
|
||||||
this.placeCall(payload.room_id, payload.type, payload.local_element, payload.remote_element);
|
this.placeCall(payload.room_id, payload.type, payload.local_element, payload.remote_element);
|
||||||
} else { // > 2
|
} else { // > 2
|
||||||
|
@ -643,17 +643,17 @@ export default class CallHandler {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'place_conference_call':
|
case 'place_conference_call':
|
||||||
console.info("Place conference call in %s", payload.room_id);
|
console.info("Place conference call in " + payload.room_id);
|
||||||
Analytics.trackEvent('voip', 'placeConferenceCall');
|
Analytics.trackEvent('voip', 'placeConferenceCall');
|
||||||
CountlyAnalytics.instance.trackStartCall(payload.room_id, payload.type === PlaceCallType.Video, true);
|
CountlyAnalytics.instance.trackStartCall(payload.room_id, payload.type === PlaceCallType.Video, true);
|
||||||
this.startCallApp(payload.room_id, payload.type);
|
this.startCallApp(payload.room_id, payload.type);
|
||||||
break;
|
break;
|
||||||
case 'end_conference':
|
case 'end_conference':
|
||||||
console.info("Terminating conference call in %s", payload.room_id);
|
console.info("Terminating conference call in " + payload.room_id);
|
||||||
this.terminateCallApp(payload.room_id);
|
this.terminateCallApp(payload.room_id);
|
||||||
break;
|
break;
|
||||||
case 'hangup_conference':
|
case 'hangup_conference':
|
||||||
console.info("Leaving conference call in %s", payload.room_id);
|
console.info("Leaving conference call in "+ payload.room_id);
|
||||||
this.hangupCallApp(payload.room_id);
|
this.hangupCallApp(payload.room_id);
|
||||||
break;
|
break;
|
||||||
case 'incoming_call':
|
case 'incoming_call':
|
||||||
|
|
Loading…
Reference in New Issue