fix: newly arrived messages dont show

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2025-03-27 02:02:18 +01:00
parent f01074b126
commit 922ca6b874
1 changed files with 4 additions and 0 deletions

View File

@ -489,6 +489,10 @@ class ChannelScreenViewModel @Inject constructor(
}
updateItems(newItemsWithPosition)
if (!didInitialChannelFetch) {
didInitialChannelFetch = true
}
} catch (e: Exception) {
Log.e("ChannelScreenViewModel", "Failed to fetch messages", e)
}