matrix-js-sdk icon indicating copy to clipboard operation
matrix-js-sdk copied to clipboard

change handling of multiple olm sessions according to spec

Open uhoreg opened this issue 7 years ago • 1 comments

The current behaviour uses the session with the lowest ID. The new spec (https://github.com/matrix-org/matrix-doc/pull/1596) uses the session that the client last received a message on, and expires old sessions.

uhoreg avatar Aug 30 '18 02:08 uhoreg

This would require modifying getSessionIdForDevice in src/crypto/OlmDevice.js, and probably will need to store the time that the client last received a mesage for each session in indexedDB

uhoreg avatar Sep 07 '18 18:09 uhoreg