Skip to content

Commit

Permalink
feat: hide member identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-HocNguyena committed May 6, 2024
1 parent 289064e commit 81883c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/agent/records/identifierMetadataRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class IdentifierMetadataRecord
isArchived: this.isArchived,
isDeleted: this.isDeleted,
isPending: this.isPending,
groupCreated: this.groupMetadata?.groupCreated,
};
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/core/agent/services/identifierService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,9 @@ class IdentifierService extends AgentService {
RecordType.IDENTIFIER_METADATA_RECORD,
{
isArchived,
$not: {
groupCreated: true,
},
}
);
return basicRecords.map((bc) => {
Expand Down

0 comments on commit 81883c2

Please sign in to comment.