Initial filtering of posts/submissions

This commit is contained in:
Julian Rota 2022-05-16 23:33:12 -04:00
parent 3c8798e4da
commit f231726b3a
11 changed files with 147 additions and 2 deletions

View file

@ -1025,7 +1025,8 @@ def submit_post(v, sub=None):
title=title[:500],
title_html=title_html,
sub=sub,
ghost=ghost
ghost=ghost,
filter_state='filtered' if v.admin_level == 0 else 'normal'
)
g.db.add(post)