git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 5081477e authored by mmn's avatar mmn

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