mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 05:24:22 +01:00
Linkify profile field values
This commit is contained in:
@@ -79,7 +79,7 @@ async function renderAccount(
|
|||||||
discoverable: true,
|
discoverable: true,
|
||||||
display_name: name ?? '',
|
display_name: name ?? '',
|
||||||
emojis: renderEmojis(event),
|
emojis: renderEmojis(event),
|
||||||
fields,
|
fields: fields.map((field) => ({ ...field, value: parseNoteContent(field.value, []).html })),
|
||||||
follow_requests_count: 0,
|
follow_requests_count: 0,
|
||||||
followers_count: event.author_stats?.followers_count ?? 0,
|
followers_count: event.author_stats?.followers_count ?? 0,
|
||||||
following_count: event.author_stats?.following_count ?? 0,
|
following_count: event.author_stats?.following_count ?? 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user