mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 14:07:35 -06:00
[feature] Update attachment format, receive + send focalPoint prop + use it on the frontend
This commit is contained in:
parent
68ed7aba25
commit
b841e9e9b1
19 changed files with 595 additions and 81 deletions
|
|
@ -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)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue