Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KevLehman committed Oct 8, 2024
1 parent adfae35 commit e2f29a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/app/e2e/client/rocketchat.e2e.room.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export class E2ERoom extends Emitter {
this.roomKeyId = room.e2eKeyId;

this.once(E2ERoomState.READY, async () => {
await this.decryptOldRoomKeys()
return this.decryptPendingMessages()
await this.decryptOldRoomKeys();
return this.decryptPendingMessages();
});
this.once(E2ERoomState.READY, () => this.decryptSubscription());
this.on('STATE_CHANGED', (prev) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const useE2EEResetRoomKeyRoomAction = () => {
return;
}

const { e2eKey, e2eKeyId } = await e2eRoom.resetRoomKey() ?? {};
const { e2eKey, e2eKeyId } = (await e2eRoom.resetRoomKey()) ?? {};

if (!e2eKey) {
throw new Error('cannot reset room key');
Expand Down

0 comments on commit e2f29a6

Please sign in to comment.