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();
|
roomKey.dispose();
|
||||||
}
|
}
|
||||||
if (keyIsBestOne) {
|
if (keyIsBestOne) {
|
||||||
await this._room.retryDecryption(roomKey, retryEventIds || []);
|
await this._room.notifyRoomKey(roomKey, retryEventIds || []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (session?.algorithm) {
|
} 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.
|
* @param {Array<string>} eventIds any event ids that should be retried. There might be more in the timeline though for this key.
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
async retryDecryption(roomKey, eventIds) {
|
async notifyRoomKey(roomKey, eventIds) {
|
||||||
if (!this._roomEncryption) {
|
if (!this._roomEncryption) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue