This commit is contained in:
Thomas Ricouard 2024-01-13 08:39:51 +01:00
parent 231b622f4e
commit 6d12f2528d

View file

@ -260,7 +260,7 @@ import SwiftUI
func handleEvent(event: any StreamEvent, currentAccount: CurrentAccount) {
if let event = event as? StreamEventUpdate {
if event.status.account.id == currentAccount.account?.id {
if event.status.account.id == currentAccount.account?.id, selectedTab == .statuses {
statuses.insert(event.status, at: 0)
statusesState = .display(statuses: statuses, nextPageState: .hasNextPage)
}