mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:02:25 -05:00 
			
		
		
		
	[bugfix] Be more lenient when parsing mastodown following.csv (#3311)
* [bugfix] Be more lenient when parsing mastodown following.csv * use follow.Notify
This commit is contained in:
		
					parent
					
						
							
								84279f6a6a
							
						
					
				
			
			
				commit
				
					
						d4d6631435
					
				
			
		
					 3 changed files with 58 additions and 10 deletions
				
			
		|  | @ -188,6 +188,10 @@ func importFollowingAsyncF( | |||
| 				// Show reblogs on | ||||
| 				// the new follow. | ||||
| 				showReblogs = follow.ShowReblogs | ||||
| 
 | ||||
| 				// Notify when new | ||||
| 				// follow posts. | ||||
| 				notify = follow.Notify | ||||
| 			) | ||||
| 
 | ||||
| 			if overwrite { | ||||
|  | @ -218,6 +222,7 @@ func importFollowingAsyncF( | |||
| 				&apimodel.AccountFollowRequest{ | ||||
| 					ID:      targetAcct.ID, | ||||
| 					Reblogs: showReblogs, | ||||
| 					Notify:  notify, | ||||
| 				}, | ||||
| 			); errWithCode != nil { | ||||
| 				log.Errorf(ctx, "could not follow account: %v", errWithCode.Unwrap()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue