mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 03:22:24 -05:00 
			
		
		
		
	update timeline with new posts as they come in
This commit is contained in:
		
					parent
					
						
							
								5acca2a735
							
						
					
				
			
			
				commit
				
					
						ab7db633d0
					
				
			
		
					 8 changed files with 200 additions and 16 deletions
				
			
		|  | @ -40,6 +40,10 @@ func (p *processor) processFromClientAPI(clientMsg gtsmodel.FromClientAPI) error | |||
| 				return errors.New("note was not parseable as *gtsmodel.Status") | ||||
| 			} | ||||
| 
 | ||||
| 			if err := p.timelineStatus(status); err != nil { | ||||
| 				return err | ||||
| 			} | ||||
| 
 | ||||
| 			if err := p.notifyStatus(status); err != nil { | ||||
| 				return err | ||||
| 			} | ||||
|  | @ -47,7 +51,6 @@ func (p *processor) processFromClientAPI(clientMsg gtsmodel.FromClientAPI) error | |||
| 			if status.VisibilityAdvanced != nil && status.VisibilityAdvanced.Federated { | ||||
| 				return p.federateStatus(status) | ||||
| 			} | ||||
| 			return nil | ||||
| 		case gtsmodel.ActivityStreamsFollow: | ||||
| 			// CREATE FOLLOW REQUEST | ||||
| 			followRequest, ok := clientMsg.GTSModel.(*gtsmodel.FollowRequest) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue