mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 03:42:25 -05:00 
			
		
		
		
	fix up more tests, fix missing required changes, etc
This commit is contained in:
		
					parent
					
						
							
								61f8da707c
							
						
					
				
			
			
				commit
				
					
						64564496f1
					
				
			
		
					 10 changed files with 130 additions and 84 deletions
				
			
		|  | @ -172,15 +172,11 @@ func (u *utils) wipeStatus( | |||
| 		} | ||||
| 
 | ||||
| 		// Remove the boost from any and all timelines. | ||||
| 		if err := u.surface.deleteStatusFromTimelines(ctx, boost.ID); err != nil { | ||||
| 			errs.Appendf("error deleting boost from timelines: %w", err) | ||||
| 		} | ||||
| 		u.surface.deleteStatusFromTimelines(ctx, boost.ID) | ||||
| 	} | ||||
| 
 | ||||
| 	// Delete the status itself from any and all timelines. | ||||
| 	if err := u.surface.deleteStatusFromTimelines(ctx, status.ID); err != nil { | ||||
| 		errs.Appendf("error deleting status from timelines: %w", err) | ||||
| 	} | ||||
| 	u.surface.deleteStatusFromTimelines(ctx, status.ID) | ||||
| 
 | ||||
| 	// Delete this status from any conversations it's part of. | ||||
| 	if err := u.state.DB.DeleteStatusFromConversations(ctx, status.ID); err != nil { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue