mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 07:12:26 -05:00 
			
		
		
		
	[bugfix] Delete from list timeline on status deletion (#1878)
This commit is contained in:
		
					parent
					
						
							
								6f6b8576f0
							
						
					
				
			
			
				commit
				
					
						b0015a3604
					
				
			
		
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -444,6 +444,10 @@ func (p *Processor) deleteStatusFromTimelines(ctx context.Context, status *gtsmo | ||||||
| 		return err | 		return err | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | 	if err := p.state.Timelines.List.WipeItemFromAllTimelines(ctx, status.ID); err != nil { | ||||||
|  | 		return err | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
| 	return p.stream.Delete(status.ID) | 	return p.stream.Delete(status.ID) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue