[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:
Diogo Peralta Cordeiro 2021-07-16 17:07:13 +01:00
parent 1b69d02875
commit 68dfaff413
1 changed files with 0 additions and 1 deletions

View File

@ -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.