Load messages and conversation in background when push message is received #4379
Labels
1. to develop
Accepted and waiting to be taken care of (should be only set by nextcloud employees)
enhancement
New feature or request
feature: 📵 offline support
when a push message is received
in background.
So when entering the chat, there is no need to fetch messages from server but the initial loading from server can be skipped. This will improve user experience when entering a chat as it feels like everything is already in place and doesn't have to be loaded.
Also, this will be useful to have data offline as soon as possible in case the connection is lost.
This will require to move some logic from OfflineFirstChatRepository to ViewModel or a DomainModel so the Repository can also be used from NotificationWorker.
The text was updated successfully, but these errors were encountered: