Fix vanilla flavour too
This commit is contained in:
		
							parent
							
								
									edd7bd26f6
								
							
						
					
					
						commit
						c67752f255
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -173,8 +173,10 @@ export function submitCompose(routerHistory) {
 | 
			
		|||
 | 
			
		||||
      if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
 | 
			
		||||
        insertIfOnline('community');
 | 
			
		||||
        if (!response.data.local_only) {
 | 
			
		||||
          insertIfOnline('public');
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }).catch(function (error) {
 | 
			
		||||
      dispatch(submitComposeFail(error));
 | 
			
		||||
    });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue