notifyRoomKey was a better name

This commit is contained in:
Bruno Windels 2021-03-15 14:36:38 +01:00
parent 96f060c0a9
commit f2dc7728a5
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ export class RoomEncryption {
roomKey.dispose();
}
if (keyIsBestOne) {
await this._room.retryDecryption(roomKey, retryEventIds || []);
await this._room.notifyRoomKey(roomKey, retryEventIds || []);
}
}
} else if (session?.algorithm) {

View file

@ -81,7 +81,7 @@ export class Room extends EventEmitter {
* @param {Array<string>} eventIds any event ids that should be retried. There might be more in the timeline though for this key.
* @return {Promise}
*/
async retryDecryption(roomKey, eventIds) {
async notifyRoomKey(roomKey, eventIds) {
if (!this._roomEncryption) {
return;
}