Open karmanyaahm opened 3 years ago
The problem comes here : https://github.com/UnifiedPush/gotify-android/blob/main/app/src/main/java/com/github/gotify/messages/provider/MessageRequester.java#L19-L31 (log: "gotify : Loading more messages for -1"; -1 is ALL_MESSAGES).
Called here : https://github.com/UnifiedPush/gotify-android/blob/main/app/src/main/java/com/github/gotify/messages/provider/MessageFacade.java#L31 https://github.com/UnifiedPush/gotify-android/blob/main/app/src/main/java/com/github/gotify/messages/MessagesActivity.java#L615
If I'm offline for a few hours and receive messages on some apps, Gotify-UP reconnects and continues sending new messages, but not old one. I think it only forwards new messages from the websocket and not old ones that are loaded through the /message API?