Fix various issues caused by wrong unread key being updated
				
					
				
			This commit is contained in:
		
							parent
							
								
									35f15cfd1b
								
							
						
					
					
						commit
						42c357d6bb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -71,7 +71,7 @@ const updateTimeline = (state, timeline, status, usePendingItems, filtered) => { | |||
|     state = state.update(timeline, initialTimeline, map => map.update('pendingItems', list => list.unshift(status.get('id')))); | ||||
| 
 | ||||
|     if (!filtered) { | ||||
|       state = state.update('unread', unread => unread + 1); | ||||
|       state = state.updateIn([timeline, 'unread'], unread => unread + 1); | ||||
|     } | ||||
| 
 | ||||
|     return state; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue