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