You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-11 19:37:30 +03:00
cache should expire TODO
This commit is contained in:
@@ -238,6 +238,8 @@ function MatrixClient(opts) {
|
|||||||
// The pushprocessor caches useful things, so keep one and re-use it
|
// The pushprocessor caches useful things, so keep one and re-use it
|
||||||
this._pushProcessor = new PushProcessor(this);
|
this._pushProcessor = new PushProcessor(this);
|
||||||
|
|
||||||
|
// Cache of the server's /versions response
|
||||||
|
// TODO: This should expire: https://github.com/matrix-org/matrix-js-sdk/issues/1020
|
||||||
this._serverVersionsCache = null;
|
this._serverVersionsCache = null;
|
||||||
|
|
||||||
this._cachedCapabilities = null; // { capabilities: {}, lastUpdated: timestamp }
|
this._cachedCapabilities = null; // { capabilities: {}, lastUpdated: timestamp }
|
||||||
|
|||||||
Reference in New Issue
Block a user