change back to quarantine
@@ -83,7 +83,7 @@ class Post(models.Model):
# Possile spam states.
SPAM, NOT_SPAM, DEFAULT, SUSPECT = range(4)
- SPAM_CHOICES = [(SPAM, "Spam"), (NOT_SPAM, "Not spam"), (SUSPECT, "Suspect"), (DEFAULT, "Default")]
+ SPAM_CHOICES = [(SPAM, "Spam"), (NOT_SPAM, "Not spam"), (SUSPECT, "Quarantine"), (DEFAULT, "Default")]
# Spam labeling.
spam = models.IntegerField(choices=SPAM_CHOICES, default=DEFAULT)
@@ -312,7 +312,7 @@ class Post(models.Model):
if self.is_spam:
return "spam"
if self.suspect_spam:
- return "score"
+ return "quarantine"
return f"{status}".lower()
