Aevann 2024-02-28 21:33:17 +02:00
parent 0999a34993
commit 9420653a07
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ def searchcomments(v):
return render_template("search_comments.html", v=v, query=query, total=0, page=page, comments=[], sort=sort, t=t, error=f"@{author.username}'s profile is private; You can't use the 'author' syntax on them!"), 403
else: comments = comments.filter(Comment.author_id == author.id)
else:
comments = comments.filter(Comment.author_id != SNAPPY_ID)
if 'q' in criteria:
text = criteria['full_text']