mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 04:12:25 -05:00 
			
		
		
		
	[bugfix] ensure the 'Closing' flag doesn't get cached (#2443)
This commit is contained in:
		
					parent
					
						
							
								cd1611362f
							
						
					
				
			
			
				commit
				
					
						2191c7dee5
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								internal/cache/gts.go
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								internal/cache/gts.go
									
										
									
									
										vendored
									
									
								
							|  | @ -824,6 +824,11 @@ func (c *GTSCaches) initPoll() { | ||||||
| 		// See internal/db/bundb/poll.go. | 		// See internal/db/bundb/poll.go. | ||||||
| 		p2.Status = nil | 		p2.Status = nil | ||||||
| 
 | 
 | ||||||
|  | 		// Don't include ephemeral fields | ||||||
|  | 		// which are only expected to be | ||||||
|  | 		// set on ONE poll instance. | ||||||
|  | 		p2.Closing = false | ||||||
|  | 
 | ||||||
| 		return p2 | 		return p2 | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue