mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Merge pull request #7858 from annando/diaspora-date
Don't use the creation date when transmitting to Diaspora
This commit is contained in:
commit
20dc285f9d
2 changed files with 2 additions and 3 deletions
|
@ -3565,8 +3565,7 @@ class Diaspora
|
|||
$myaddr = self::myHandle($owner);
|
||||
|
||||
$public = ($item["private"] ? "false" : "true");
|
||||
|
||||
$created = DateTimeFormat::utc($item["created"], DateTimeFormat::ATOM);
|
||||
$created = DateTimeFormat::utc($item['received'], DateTimeFormat::ATOM);
|
||||
$edited = DateTimeFormat::utc($item["edited"] ?? $item["created"], DateTimeFormat::ATOM);
|
||||
|
||||
// Detect a share element and do a reshare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue