[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();
|
$file->saveFile();
|
||||||
$act->enclosures[] = $file->getEnclosure();
|
|
||||||
$attachments[] = $file;
|
$attachments[] = $file;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// Whatever.
|
// Whatever.
|
||||||
|
Loading…
Reference in New Issue
Block a user