[Glitch] Fix bug in order of conversations in web UI
Port e18390cfe6f5f0eb55abafe072b14b7fa123e808 to glitch-soc
This commit is contained in:
		
							parent
							
								
									837ea32c88
								
							
						
					
					
						commit
						31599ad91c
					
				| @ -80,9 +80,12 @@ const makeMapStateToProps = () => { | ||||
|           let id        = ids.shift(); | ||||
|           const replies = state.getIn(['contexts', 'replies', id]); | ||||
| 
 | ||||
|           if (status.get('id') !== id) { | ||||
|             mutable.push(id); | ||||
|           } | ||||
| 
 | ||||
|           if (replies) { | ||||
|             replies.forEach(reply => { | ||||
|               mutable.push(reply); | ||||
|             replies.reverse().forEach(reply => { | ||||
|               ids.unshift(reply); | ||||
|             }); | ||||
|           } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user