1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

retry key backups when they fail

This commit is contained in:
Hubert Chathi
2018-10-04 15:19:20 -04:00
parent 2f4c1dfcc4
commit 258adda67c
6 changed files with 399 additions and 59 deletions

View File

@@ -848,6 +848,8 @@ MatrixClient.prototype.enableKeyBackup = function(info) {
this._crypto.backupKey.set_recipient_key(info.auth_data.public_key);
this.emit('keyBackupStatus', true);
this._crypto._maybeSendKeyBackup();
};
/**