forked from cybrespace/mastodon
		
	Fix tootctl accounts reattaching not unsuspending deleted account (#8812)
This commit is contained in:
		
							parent
							
								
									df2f4052b8
								
							
						
					
					
						commit
						ac07bfb018
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,8 @@ module Mastodon
 | 
			
		|||
        end
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      user.account = account
 | 
			
		||||
      account.suspended = false
 | 
			
		||||
      user.account      = account
 | 
			
		||||
 | 
			
		||||
      if user.save
 | 
			
		||||
        if options[:confirmed]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue