mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-05 21:44:20 +01:00
refactor: remove stripimeta in 'about' of renderAccount
This commit is contained in:
@@ -6,7 +6,7 @@ import { MastodonAccount } from '@/entities/MastodonAccount.ts';
|
||||
import { type DittoEvent } from '@/interfaces/DittoEvent.ts';
|
||||
import { getLnurl } from '@/utils/lnurl.ts';
|
||||
import { parseAndVerifyNip05 } from '@/utils/nip05.ts';
|
||||
import { parseNoteContent, stripimeta } from '@/utils/note.ts';
|
||||
import { parseNoteContent } from '@/utils/note.ts';
|
||||
import { getTagSet } from '@/utils/tags.ts';
|
||||
import { faviconCache } from '@/utils/favicon.ts';
|
||||
import { nostrDate, nostrNow } from '@/utils.ts';
|
||||
@@ -57,7 +57,7 @@ async function renderAccount(
|
||||
favicon = new URL('/favicon.ico', `https://${parsed05.domain}/`);
|
||||
}
|
||||
}
|
||||
const { html } = parseNoteContent(stripimeta(about || '', event.tags), []);
|
||||
const { html } = parseNoteContent(about || '', []);
|
||||
|
||||
return {
|
||||
id: pubkey,
|
||||
|
||||
Reference in New Issue
Block a user