Skip to content

Commit

Permalink
fix(backend): isBot not being set on Application type
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Feb 4, 2024
1 parent 0494328 commit f1d24bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/activitypub/models/person.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<Us

const tags = extractApHashtags(person.tag).map(tag => normalizeForSearch(tag)).splice(0, 32);

const isBot = object.type === 'Service';
const isBot = object.type === 'Service' || object.type === 'Application';

const bday = person['vcard:bday']?.match(/^\d{4}-\d{2}-\d{2}/);

Expand Down

0 comments on commit f1d24bb

Please sign in to comment.