mirror of https://github.com/vector-im/riot-web
Make DeviceListener also update on megolm key in SSSS
The device listener checks for a megolm key stored in SSSS but didn't update when one was added, so the encryption upgrade toast would not disappear after the key was fixed by https://github.com/matrix-org/matrix-js-sdk/pull/1776pull/21833/head
parent
72acd5a611
commit
197b6aeefe
|
@ -160,7 +160,8 @@ export default class DeviceListener {
|
|||
// which result in account data changes affecting checks below.
|
||||
if (
|
||||
ev.getType().startsWith('m.secret_storage.') ||
|
||||
ev.getType().startsWith('m.cross_signing.')
|
||||
ev.getType().startsWith('m.cross_signing.') ||
|
||||
ev.getType() === 'm.megolm_backup.v1'
|
||||
) {
|
||||
this._recheck();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue