"edited_at" must only be displayed when the entry had been updated
This commit is contained in:
		
					parent
					
						
							
								bb835848d4
							
						
					
				
			
			
				commit
				
					
						6ffecd2b74
					
				
			
		
					 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']) { | ||||
| 			unset($status['edited_at']); | ||||
| 		} | ||||
| 
 | ||||
| 		return $status; | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue