Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive notifications after restored connection #239

Open
ghost opened this issue Jul 25, 2022 · 1 comment
Open

Receive notifications after restored connection #239

ghost opened this issue Jul 25, 2022 · 1 comment
Labels
a:bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jul 25, 2022

Even if you have cellular data and wifi turned on all the time, sometimes you can just lose coverage. And if there is a new message in that timespan, you are out of luck. Gotify doesn't check for new messages automatically when internet connection is restored, and so a notification is not sent straight away. Can this be somehow fixed?

@jmattheis
Copy link
Member

The android apps should notify missed messages after the connection could reestablish.

.onReconnected(this::notifyMissedNotifications)

There is one edge-case where the missed messages won't be displayed: The web socket connection could be established, but then the following get-messages HTTP call wasn't successful.

@jmattheis jmattheis added the a:bug Something isn't working label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Something isn't working
Development

No branches or pull requests

1 participant