summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltoas.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/typeutils/internaltoas.go')
-rw-r--r--internal/typeutils/internaltoas.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go
index 6255ee8e2..d08c3c935 100644
--- a/internal/typeutils/internaltoas.go
+++ b/internal/typeutils/internaltoas.go
@@ -1145,8 +1145,12 @@ func (c *Converter) attachAttachments(
}
ap.AppendURL(attachmentable, imageURL)
- // `summary` ie., media description / alt text
- ap.AppendSummary(attachmentable, a.Description)
+ // `name` ie., media description / alt text
+ //
+ // TODO: Change this to `summary` when there's
+ // wider support for this across fedi. See:
+ // https://codeberg.org/superseriousbusiness/gotosocial/issues/4524
+ ap.AppendName(attachmentable, a.Description)
// `blurhash`
ap.SetBlurhash(attachmentable, a.Blurhash)