master
Aevann1 2022-01-14 05:57:34 +02:00
parent c0158be0da
commit acad522929
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 if request.headers.get("Authorization"): return new_post.json
else: else:
new_post = get_post(new_post.id) new_post.voted = 1
if 'megathread' in new_post.title.lower(): sort = 'new' if 'megathread' in new_post.title.lower(): sort = 'new'
else: sort = v.defaultsortingcomments else: sort = v.defaultsortingcomments
new_post.replies = [c] new_post.replies = [c]

View File

@ -1 +1,7 @@
The true home of IP2 <div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
<img src="/static/images/16412386045.webp" width="100%">
<a class="btn btn-primary btn-block mt-4" href="https://ip2.network">STREAM LIST</a>
<a class="btn btn-primary btn-block" href="/post/4103">BUGS/SUGGESTIONS MEGATHREAD</a>
<p class="mt-4">Rules: No doxxing, No CP or other clearly illegal shit. Thanks.</p>
</div>