Skip to content

Commit

Permalink
mark spam after vote count
Browse files Browse the repository at this point in the history
  • Loading branch information
smithellis committed Nov 15, 2024
1 parent 9ba3529 commit 48ad677
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kitsune/questions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,12 @@ def aaq(request, product_slug=None, step=1, is_loginless=False):
product=product,
)

if form.cleaned_data.get("is_spam"):
_add_to_moderation_queue(request, question)

# Submitting the question counts as a vote
question_vote(request, question.id)

if form.cleaned_data.get("is_spam"):
_add_to_moderation_queue(request, question)

my_questions_url = reverse("users.questions", args=[request.user.username])
messages.add_message(
request,
Expand Down

0 comments on commit 48ad677

Please sign in to comment.