Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
$item['inform'] = trim($item['inform'] ?? '');
$item['file'] = trim($item['file'] ?? '');
- // Communities aren't working with the Diaspora protoccol
+ // Communities aren't working with the Diaspora protocol
if (($uid != 0) && ($item['network'] == Protocol::DIASPORA)) {
$user = User::getById($uid, ['account-type']);
if ($user['account-type'] == Contact::TYPE_COMMUNITY) {
}
if ($importer['account-type'] == User::ACCOUNT_TYPE_COMMUNITY) {
- // Communities aren't working with the Diaspora protoccol
+ // Communities aren't working with the Diaspora protocol
// We throw an "accepted" here, so that the sender doesn't repeat the delivery
throw new HTTPException\AcceptedException();
}