mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 13:34:24 +01:00
Merge branch 'fields' into 'main'
Linkify profile field values See merge request soapbox-pub/ditto!593
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