Skip to content
Snippets Groups Projects
Commit f9778328 authored by Moul's avatar Moul
Browse files

[fix] Membership check of the sender of a certification was buggy

parent 2cf5af27
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment