refactor(ApNoteService.ts
): eslint-disable-next-line
This commit is contained in:
@@ -328,6 +328,7 @@ export class ApNoteService {
|
|||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public async extractEmojis(tags: IObject | IObject[], host: string): Promise<Emoji[]> {
|
public async extractEmojis(tags: IObject | IObject[], host: string): Promise<Emoji[]> {
|
||||||
|
// eslint-disable-next-line no-param-reassign
|
||||||
host = this.utilityService.toPuny(host);
|
host = this.utilityService.toPuny(host);
|
||||||
|
|
||||||
if (!tags) return [];
|
if (!tags) return [];
|
||||||
|
Reference in New Issue
Block a user