Skip to content

fix(spam): Now only submit Spam/Not spam once (2x confuses the backend) - #2004

Open
castaway wants to merge 1 commit into
runbox:masterfrom
shadow-dot-cat:castaway/duplicate_inserts
Open

fix(spam): Now only submit Spam/Not spam once (2x confuses the backend)#2004
castaway wants to merge 1 commit into
runbox:masterfrom
shadow-dot-cat:castaway/duplicate_inserts

Conversation

@castaway

@castaway castaway commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Report from users that they get an error when marking several messages as "not spam". Due to the way RXJS was being used, we were POSTing twice to the spam endpoint. This sometimes caused the "check for entry in whitelist, if not then insert" code to check twice, then try and insert twice - the 2nd insert would fail as the first had already succeeded.

Fix also included that caused many other endpoints to be called twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant