forked from GNUsocial/gnu-social
[ActivityPub][INBOX] CREATE NOTE Attachments, we handle enclosures elsewhere
It was trying to make enclosures with objects instead of strings, also attachments don't use this, only links
This commit is contained in:
parent
066dfbb66d
commit
55293e4008
@ -265,7 +265,6 @@ class Activitypub_notice
|
||||
}
|
||||
}
|
||||
$file->saveFile();
|
||||
$act->enclosures[] = $file->getEnclosure();
|
||||
$attachments[] = $file;
|
||||
} catch (Exception $e) {
|
||||
// Whatever.
|
||||
|
Loading…
Reference in New Issue
Block a user