This commit is contained in:
Aevann1 2022-01-14 05:57:34 +02:00
parent 5a820bb372
commit 7d6da05dbd
2 changed files with 8 additions and 2 deletions

View file

@ -1169,7 +1169,7 @@ def submit_post(v):
if request.headers.get("Authorization"): return new_post.json
else:
new_post = get_post(new_post.id)
new_post.voted = 1
if 'megathread' in new_post.title.lower(): sort = 'new'
else: sort = v.defaultsortingcomments
new_post.replies = [c]