This commit is contained in:
Aevann1 2022-01-14 04:33:27 +02:00
parent a7db542d90
commit 45ef23caca
14 changed files with 24 additions and 15 deletions

View file

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