"edited_at" must only be displayed when the entry had been updated
This commit is contained in:
parent
bb835848d4
commit
6ffecd2b74
|
@ -213,6 +213,10 @@ class Status extends BaseDataTransferObject
|
|||
$status['in_reply_to_status'] = null;
|
||||
}
|
||||
|
||||
if ($status['created_at'] == $status['edited_at']) {
|
||||
unset($status['edited_at']);
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user