[Glitch] Fix bug in order of conversations in web UI
Port 2af43c3dce to glitch-soc
			
			
This commit is contained in:
		
							parent
							
								
									ff50412846
								
							
						
					
					
						commit
						5a03b30f13
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -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…
	
		Reference in a new issue