[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
1b69d02875
commit
68dfaff413
@ -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