forked from rDrama/rDrama
restore autopinning
parent
a37fca393d
commit
2cdbf9ed5d
|
@ -698,6 +698,12 @@ def submit_post(v:User, sub=None):
|
||||||
|
|
||||||
execute_lawlz_actions(v, p)
|
execute_lawlz_actions(v, p)
|
||||||
|
|
||||||
|
if (SITE == 'rdrama.net'
|
||||||
|
and v.id in {TGTW_ID, SNALLY_ID}
|
||||||
|
and not (p.sub and p.subr.stealth)) and p.sub != 'slavshit':
|
||||||
|
p.stickied_utc = int(time.time()) + 3600
|
||||||
|
p.stickied = "AutoJanny"
|
||||||
|
|
||||||
cache.delete_memoized(frontlist)
|
cache.delete_memoized(frontlist)
|
||||||
cache.delete_memoized(userpagelisting)
|
cache.delete_memoized(userpagelisting)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue