mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-7127 #comment fix regression from a80c739
, thanks Mike
The second hunk in this patch isn't right. In the past, if tmp was null, it would not pass the if.
This commit is contained in:
@@ -493,7 +493,7 @@
|
||||
tmp = null;
|
||||
}
|
||||
|
||||
if (!(tmp && typeof(tmp) == "object" && tmp.constructor === Array)) {
|
||||
if (tmp && !(typeof(tmp) == "object" && tmp.constructor === Array)) {
|
||||
console.warn("iceServers must be an array, reverting to default ice servers");
|
||||
tmp = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user