Remove ICE fallback prompt from pre-call path

This commit is contained in:
J. Ryan Stinnett 2019-08-15 14:44:50 +01:00
parent 67b830c48d
commit d610bfc5e5

View file

@ -311,14 +311,6 @@ function _onAction(payload) {
return; return;
} }
if (
MatrixClientPeg.get().getTurnServers().length === 0 &&
SettingsStore.getValue("fallbackICEServerAllowed") === null
) {
_showICEFallbackPrompt(_t("Homeserver not configured to support calls"));
return;
}
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 %s does not exist.", payload.room_id);