mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 09:12:24 -06:00 
			
		
		
		
	[bugfix] Fix issue where the 'favourited' field of a notification's status is always false (#779)
This commit is contained in:
		
					parent
					
						
							
								47152c2706
							
						
					
				
			
			
				commit
				
					
						1f8ecf1c15
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -736,7 +736,7 @@ func (c *converter) NotificationToAPINotification(ctx context.Context, n *gtsmod
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		var err error
 | 
							var err error
 | 
				
			||||||
		apiStatus, err = c.StatusToAPIStatus(ctx, n.Status, nil)
 | 
							apiStatus, err = c.StatusToAPIStatus(ctx, n.Status, n.TargetAccount)
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			return nil, fmt.Errorf("NotificationToapi: error converting status to api: %s", err)
 | 
								return nil, fmt.Errorf("NotificationToapi: error converting status to api: %s", err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue