forked from mystiq/hydrogen-web
some more typing
This commit is contained in:
parent
c47bdd5715
commit
7d3e3b992b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export abstract class IncomingRoomKey extends RoomKey {
|
|||
|
||||
async write(loader: KeyLoader, txn: Transaction): Promise<boolean> {
|
||||
// we checked already and we had a better session in storage, so don't write
|
||||
let pickledSession;
|
||||
let pickledSession: string | undefined;
|
||||
if (this.isBetter === undefined) {
|
||||
// if this key wasn't used to decrypt any messages in the same sync,
|
||||
// we haven't checked if this is the best key yet,
|
||||
|
|
Loading…
Reference in a new issue