diff --git a/app/lib/dal/fileDAL.ts b/app/lib/dal/fileDAL.ts index 36603d84f974792f3a93c3ecefb3adb363b7f26e..bf6d449f29980864b1d68455a49a73fe61ddd50b 100644 --- a/app/lib/dal/fileDAL.ts +++ b/app/lib/dal/fileDAL.ts @@ -898,10 +898,10 @@ export class FileDAL { async isMember(pubkey:string):Promise<boolean> { try { const idty = await this.iindexDAL.getFromPubkey(pubkey); - if (idty === null) { - return false + if (idty && idty.member) { + return true } - return true; + return false } catch (err) { return false; }