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

Make unsent messages persist #880

Closed
05nelsonm opened this issue Aug 9, 2020 · 3 comments
Closed

Make unsent messages persist #880

05nelsonm opened this issue Aug 9, 2020 · 3 comments
Labels
bug Something isn't working feature: 🗨️ chat

Comments

@05nelsonm
Copy link

Current behavior:
Type a message to another user, exit app, come back, message is not there.

If the application goes to the background and is killed by the OS, unsent messages are lost.

Using onSavedInstanceState to recover from process death would be a great nicety to have.

@ctilluma
Copy link

I think there are two ways we can address this issue, depending on whether online or offline. Online will be easier, as we have to write into the savedinstance, but this is something that needs to be done for #830 so that we can also remember where in the list of messages we scrolled to.

The second will be maintaining a state of the sync on the app so it knows when it reconnects which messages it needs to send and check for newer.

@nickvergessen
Copy link
Member

nickvergessen commented May 19, 2021

#1259 might help already, at least when the app is not killed completely

@mahibi
Copy link
Collaborator

mahibi commented Nov 27, 2024

resolved since #3224

@mahibi mahibi closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: 🗨️ chat
Projects
None yet
Development

No branches or pull requests

5 participants