forked from mirror/misskey
cleanup(ApPersonService.ts
)
This commit is contained in:
parent
f20381d06b
commit
541429f16b
@ -245,7 +245,7 @@ export class ApPersonService implements OnModuleInit {
|
|||||||
|
|
||||||
const { fields } = this.analyzeAttachments(person.attachment ?? []);
|
const { fields } = this.analyzeAttachments(person.attachment ?? []);
|
||||||
|
|
||||||
const tags = extractApHashtags(person.tag).map(tag => normalizeForSearch(tag)).splice(0, 32);
|
const tags = extractApHashtags(person.tag).map(normalizeForSearch).splice(0, 32);
|
||||||
|
|
||||||
const isBot = getApType(object) === 'Service';
|
const isBot = getApType(object) === 'Service';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user