forked from MarseyWorld/MarseyWorld
extend under siege to new posts
parent
f83b803bb5
commit
4a756d742f
|
@ -603,6 +603,8 @@ def submit_post(v:User, sub=None):
|
||||||
g.db.add(p)
|
g.db.add(p)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
|
execute_under_siege(v, p, p.body, 'submission')
|
||||||
|
|
||||||
process_poll_options(v, p)
|
process_poll_options(v, p)
|
||||||
|
|
||||||
for text in {p.body, p.title, p.url}:
|
for text in {p.body, p.title, p.url}:
|
||||||
|
|
Loading…
Reference in New Issue