Merge pull request #12889 from annando/api-edited-at
"edited_at" must only be displayed when the entry had been updated
This commit is contained in:
commit
14647acce2
1 changed files with 4 additions and 0 deletions
|
@ -213,6 +213,10 @@ class Status extends BaseDataTransferObject
|
|||
$status['in_reply_to_status'] = null;
|
||||
}
|
||||
|
||||
if ($status['created_at'] == $status['edited_at']) {
|
||||
$status['edited_at'] = null;
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue