mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 06:42:25 -05:00 
			
		
		
		
	[chore] Tiny tweak to ApprovedByURI (#3234)
This commit is contained in:
		
					parent
					
						
							
								d3887bf6cc
							
						
					
				
			
			
				commit
				
					
						2bd31ab710
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -523,7 +523,9 @@ func (d *Dereferencer) enrichStatus( | ||||||
| 	// | 	// | ||||||
| 	// If a remote has in the meantime retracted its approval, | 	// If a remote has in the meantime retracted its approval, | ||||||
| 	// the next call to 'isPermittedStatus' will catch that. | 	// the next call to 'isPermittedStatus' will catch that. | ||||||
|  | 	if latestStatus.ApprovedByURI == "" && status.ApprovedByURI != "" { | ||||||
| 		latestStatus.ApprovedByURI = status.ApprovedByURI | 		latestStatus.ApprovedByURI = status.ApprovedByURI | ||||||
|  | 	} | ||||||
| 
 | 
 | ||||||
| 	// Check if this is a permitted status we should accept. | 	// Check if this is a permitted status we should accept. | ||||||
| 	// Function also sets "PendingApproval" bool as necessary. | 	// Function also sets "PendingApproval" bool as necessary. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue