Initial filtering of posts/submissions
This commit is contained in:
parent
3c8798e4da
commit
f231726b3a
11 changed files with 147 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue