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

Last message doesn't get deleted when deleting messages individually #382

Open
mamoit opened this issue Oct 4, 2024 · 3 comments
Open
Labels
a:bug Something isn't working

Comments

@mamoit
Copy link

mamoit commented Oct 4, 2024

The last message of the list never gets deleted if I manually delete the messages one by one in the "trash bin" icon.
Well, it seems like it gets deleted since it disappears from the screen, but the message "There are no messages, yet." doesn't show up, and if you close and open the app again, it's still there, and if you delete it it will come back once you close and open the app again.

The only way to clean up the last message through the android app seems to be by pressing the "delete all messages" button.

I can consistently reproduce this issue.

I'm Running:
gotify/android v2.8.1
gotify/server v2.4.0

@mamoit
Copy link
Author

mamoit commented Oct 4, 2024

I noticed that the server was outdated.
Upgraded it to v2.5.0 and the issue still persists.

@jmattheis jmattheis added the a:bug Something isn't working label Oct 4, 2024
@jmattheis
Copy link
Member

Currently a message is only deleted server side when the snackbar with the undo button disappeared. I guess if the app is closed before that happens the delete isn't finished in the background.

@mamoit
Copy link
Author

mamoit commented Oct 5, 2024

Indeed, waiting for the snackbar to go away makes the last message deletion permanent.
Thanks for identifying the issue.

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

2 participants