forked from mystiq/hydrogen-web
notifyRoomKey was a better name
This commit is contained in:
parent
96f060c0a9
commit
f2dc7728a5
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue