extend under siege to new posts

pull/139/head
Aevann 2023-03-13 21:18:08 +02:00
parent f83b803bb5
commit 4a756d742f
1 changed files with 2 additions and 0 deletions

View File

@ -603,6 +603,8 @@ def submit_post(v:User, sub=None):
g.db.add(p)
g.db.flush()
execute_under_siege(v, p, p.body, 'submission')
process_poll_options(v, p)
for text in {p.body, p.title, p.url}: