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

Store null in review_result column during review phase #1599

Merged
merged 1 commit into from Feb 16, 2023

Conversation

andreaskoepf
Copy link
Collaborator

Currently it is not possible for the web frontend to distinguish spam messages from messages which are still in the review phase (in both cases review_result was False). To correctly display for moderators which messages have been rejected during review (only those should be displayed with spam label) this PR changes the removes the default value of review_result and makes the column nullable. A boolean value is set after enough labels have been received for the message.

See #1590

@andreaskoepf andreaskoepf force-pushed the 1590_make_review_result_nullable branch from 03283a2 to 9a1076d Compare February 15, 2023 19:34
@andreaskoepf andreaskoepf merged commit d407a1f into main Feb 16, 2023
@andreaskoepf andreaskoepf deleted the 1590_make_review_result_nullable branch February 16, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant