We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5081477e authored by mattl's avatar mattl

enclosures in Atom were not included

parent f094918c
......@@ -1841,9 +1841,9 @@ class Notice extends Managed_DataObject
$attachments = $this->attachments();
foreach ($attachments as $attachment) {
// Save local attachments
// Include local attachments in Activity
if (!empty($attachment->filename)) {
$act->attachments[] = ActivityObject::fromFile($attachment);
$act->enclosures[] = $attachment->getEnclosure();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment