Merge pull request #6337 from matrix-org/dbkr/devicelistener_megolm_key

Make DeviceListener also update on megolm key in SSSS
This commit is contained in:
David Baker 2021-07-08 21:44:41 +01:00 committed by GitHub
commit 013a81148b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}