You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Use ===
This commit is contained in:
@@ -2801,7 +2801,7 @@ MatrixClient.prototype.register = function(username, password,
|
|||||||
MatrixClient.prototype.requestRegisterEmailToken = function(email, clientSecret,
|
MatrixClient.prototype.requestRegisterEmailToken = function(email, clientSecret,
|
||||||
sendAttempt, nextLink, callback) {
|
sendAttempt, nextLink, callback) {
|
||||||
var id_server_url = url.parse(this.idBaseUrl);
|
var id_server_url = url.parse(this.idBaseUrl);
|
||||||
if (id_server_url.host == null) {
|
if (id_server_url.host === null) {
|
||||||
throw new Error("Invalid ID server URL: " + this.idBaseUrl);
|
throw new Error("Invalid ID server URL: " + this.idBaseUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user