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

Statuses can get re-added to database after deletion #17

Open
Douile opened this issue Jun 19, 2021 · 0 comments
Open

Statuses can get re-added to database after deletion #17

Douile opened this issue Jun 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Douile
Copy link
Member

Douile commented Jun 19, 2021

After deleting a status with statusremove it may get re-added to the database by the auto-updater. This is caused by the status-save in auto-update if a new message is sent.

@Douile Douile added the bug Something isn't working label Jun 19, 2021
Douile added a commit that referenced this issue Jun 30, 2021
This change seperates the backend for saving (changes to) an update and
creating a new update. This should prevent issues such as #17 and #18
because saving an update that has already been deleted will now throw an
error instead of silently creating a new update in the database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant