1
1
Fork 0

"edited_at" must only be displayed when the entry had been updated

This commit is contained in:
Michael 2023-03-14 16:07:54 +00:00
parent bb835848d4
commit 6ffecd2b74

View file

@ -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;
}
}