From ab3e044e8db4cbd374475bd2acb4a90eb87c115d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 30 Aug 2021 15:06:22 +0200 Subject: [PATCH] sneed --- files/routes/discord.py | 4 ++-- files/templates/comments.html | 4 ++-- files/templates/settings_filters.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/routes/discord.py b/files/routes/discord.py index c08794723..de30e79f2 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -115,8 +115,8 @@ def discord_redirect(v): if x.status_code in [201, 204]: - #if v.admin_level > 0: add_role(v, "admin") - #else: add_role(v, "newuser") + if v.admin_level > 0: add_role(v, "admin") + else: add_role(v, "newuser") time.sleep(0.1) diff --git a/files/templates/comments.html b/files/templates/comments.html index 388088797..d9efab3cc 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -45,7 +45,7 @@ {% if render_replies %} - {% if level<6 %} + {% if level<7 %}
{% set standalone=False %} {% for reply in replies %} @@ -386,7 +386,7 @@ {% if render_replies %} - {% if level<6 %} + {% if level<7 %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} diff --git a/files/templates/settings_filters.html b/files/templates/settings_filters.html index 2c0804edf..d8b0a4136 100644 --- a/files/templates/settings_filters.html +++ b/files/templates/settings_filters.html @@ -239,7 +239,7 @@
- Hides matching content from Home, All, and Trending, and collapses matching comments. + Hides matching posts from the frontpage and collapses matching comments.