mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 16:44:26 +02:00
Merge pull request #8367 from annando/another-guid
Store "sc:identifier" as GUID as well
This commit is contained in:
commit
6612264538
2 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,7 @@ class Processor
|
|||
|
||||
$item['created'] = DateTimeFormat::utc($activity['published']);
|
||||
$item['edited'] = DateTimeFormat::utc($activity['updated']);
|
||||
$item['guid'] = $activity['diaspora:guid'] ?: self::getGUIDByURL($item['uri']);
|
||||
$item['guid'] = $activity['diaspora:guid'] ?: $activity['sc:identifier'] ?: self::getGUIDByURL($item['uri']);
|
||||
|
||||
$item = self::processContent($activity, $item);
|
||||
if (empty($item)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue