Skip to content

Commit

Permalink
cache should expire TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Aug 19, 2019
1 parent ee752e3 commit 3c69b85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ function MatrixClient(opts) {
// The pushprocessor caches useful things, so keep one and re-use it
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._cachedCapabilities = null; // { capabilities: {}, lastUpdated: timestamp }
Expand Down

0 comments on commit 3c69b85

Please sign in to comment.