1
1
Fork 0

Suppress Type error exceptions in ActivityPub\Processor

This commit is contained in:
Hypolite Petovan 2021-12-11 10:16:57 -05:00
parent 0165811f09
commit affd2bfdb7

View file

@ -287,8 +287,8 @@ class Processor
$item['uri'] = $activity['id'];
$item['created'] = DateTimeFormat::utc($activity['published']);
$item['edited'] = DateTimeFormat::utc($activity['updated']);
$item['created'] = DateTimeFormat::utc($activity['published'] ?? 'now');
$item['edited'] = DateTimeFormat::utc($activity['updated'] ?? 'now');
$guid = $activity['sc:identifier'] ?: self::getGUIDByURL($item['uri']);
$item['guid'] = $activity['diaspora:guid'] ?: $guid;