Update Inbox, fix reply/comment bug by moving attachment validation to Note with attachments

pull/2776/head
Daniel Supernault 4 years ago
parent 1e230e80fb
commit 28df9f7e80
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -154,13 +154,13 @@ class Inbox
$this->handleDirectMessage();
return;
}
if(!$this->verifyNoteAttachment()) {
return;
}
if($activity['type'] == 'Note' && !empty($activity['inReplyTo'])) {
$this->handleNoteReply();
} elseif($activity['type'] == 'Note' && !empty($activity['attachment'])) {
if(!$this->verifyNoteAttachment()) {
return;
}
$this->handleNoteCreate();
}
}

Loading…
Cancel
Save