mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
notifyRoomKey was a better name
This commit is contained in:
parent
96f060c0a9
commit
f2dc7728a5
@ -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 New Issue
Block a user