You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +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:
@@ -4360,9 +4360,6 @@ function checkTurnServers(client) {
|
|||||||
client._checkTurnServersTimeoutID = setTimeout(() => {
|
client._checkTurnServersTimeoutID = setTimeout(() => {
|
||||||
checkTurnServers(client);
|
checkTurnServers(client);
|
||||||
}, (res.ttl || (60 * 60)) * 1000 * 0.9);
|
}, (res.ttl || (60 * 60)) * 1000 * 0.9);
|
||||||
} else {
|
|
||||||
logger.warn("No TURN URIs from homeserver");
|
|
||||||
client.emit("Call.noTURNServers");
|
|
||||||
}
|
}
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
logger.error("Failed to get TURN URIs");
|
logger.error("Failed to get TURN URIs");
|
||||||
|
|||||||
Reference in New Issue
Block a user