Commit f9778328 authored by Moul's avatar Moul
Browse files

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

parent 2cf5af27
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
    }