index : matrix-js-sdk

My fork of matrix-js-sdk

diff options
context:
space:
mode:
authorMichael Telatynski <[email protected]>2020-06-03 10:26:46 +0100
committerMichael Telatynski <[email protected]>2020-06-03 10:26:46 +0100
commit10329c3436e97aeb76392f58cc4b8d163118a1df (patch)
treee1005f8e09e8c52c2a1fca6d370a219a6714de15
parent18b1e008755cf637a475502558609ccca869fc62 (diff)
downloadmatrix-js-sdk-10329c3436e97aeb76392f58cc4b8d163118a1df.tar.gz
rename _clientWellKnownInterval to _clientWellKnownIntervalID
Signed-off-by: Michael Telatynski <[email protected]>
-rw-r--r--src/client.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.js b/src/client.js
index ed2cefb0..177102c0 100644
--- a/src/client.js
+++ b/src/client.js
@@ -4806,7 +4806,7 @@ MatrixClient.prototype.startClient = async function(opts) {
this._syncApi.sync();
if (opts.clientWellKnownPollPeriod !== undefined) {
- this._clientWellKnownInterval =
+ this._clientWellKnownIntervalID =
setInterval(() => {
this._fetchClientWellKnown();
}, 1000 * opts.clientWellKnownPollPeriod);
@@ -4868,8 +4868,8 @@ MatrixClient.prototype.stopClient = function() {
this._peekSync.stopPeeking();
}
global.clearTimeout(this._checkTurnServersTimeoutID);
- if (this._clientWellKnownInterval !== undefined) {
- global.clearInterval(this._clientWellKnownInterval);
+ if (this._clientWellKnownIntervalID !== undefined) {
+ global.clearInterval(this._clientWellKnownIntervalID);
}
};