diff --git a/Session/Conversations/ConversationVC+Interaction.swift b/Session/Conversations/ConversationVC+Interaction.swift index 61ac11d40..89ae4dc4e 100644 --- a/Session/Conversations/ConversationVC+Interaction.swift +++ b/Session/Conversations/ConversationVC+Interaction.swift @@ -22,6 +22,7 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc // so the result may be inaccurate before all the cells are loaded. Use this // to scroll to the last row instead. let indexPath = IndexPath(row: viewItems.count - 1, section: 0) + unreadViewItems.removeAll() messagesTableView.scrollToRow(at: indexPath, at: .top, animated: true) }