Skip to content

Commit

Permalink
fix: minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammeds1992 committed Nov 24, 2023
1 parent e6ab38d commit 2ec9bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/pushapi/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class Chat {
}

async block(users: Array<string>): Promise<IUser> {
if (!this.signer) {
if (!this.signer || !this.decryptedPgpPvtKey) {
throw new Error(PushAPI.ensureSignerMessage());
}
const user = await PUSH_USER.get({
Expand Down

0 comments on commit 2ec9bee

Please sign in to comment.