1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Revert no TURN servers event

The intended flow has changed so we prompt about this case in context of making
a call, so this event is no longer needed.
This commit is contained in:
J. Ryan Stinnett
2019-08-14 14:09:05 +01:00
parent 172bad8b55
commit db18274f6e

View File

@@ -4360,9 +4360,6 @@ function checkTurnServers(client) {
client._checkTurnServersTimeoutID = setTimeout(() => {
checkTurnServers(client);
}, (res.ttl || (60 * 60)) * 1000 * 0.9);
} else {
logger.warn("No TURN URIs from homeserver");
client.emit("Call.noTURNServers");
}
}, function(err) {
logger.error("Failed to get TURN URIs");