Fix wrong prediction of whether toot will apear on public timeline in UI
This commit is contained in:
		
					parent
					
						
							
								714e41d472
							
						
					
				
			
			
				commit
				
					
						8a081ce588
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -84,7 +84,7 @@ export function submitCompose() { | |||
|       // To make the app more responsive, immediately get the status into the columns | ||||
|       dispatch(updateTimeline('home', { ...response.data })); | ||||
| 
 | ||||
|       if (response.data.in_reply_to_id === null && !getState().getIn(['compose', 'private']) && !getState().getIn(['compose', 'unlisted'])) { | ||||
|       if (response.data.in_reply_to_id === null && response.data.visibility === 'public') { | ||||
|         dispatch(updateTimeline('public', { ...response.data })); | ||||
|       } | ||||
|     }).catch(function (error) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue