[feature] Update attachment format, receive + send focalPoint prop + use it on the frontend

This commit is contained in:
tobi 2025-04-24 17:58:20 +02:00
commit b841e9e9b1
19 changed files with 595 additions and 81 deletions

View file

@ -142,7 +142,7 @@ func (f *Filter) StatusableOK(
}
// HEURISTIC 6: Are there any media attachments?
attachments, _ := ap.ExtractAttachments(statusable)
attachments := ap.ExtractAttachments(statusable)
hasAttachments := len(attachments) != 0
if hasAttachments {
err := errors.New("status has attachment(s)")