Suppress Type error exceptions in ActivityPub\Processor
This commit is contained in:
parent
0165811f09
commit
affd2bfdb7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue