allow fanout old post within 9 days instead of 2
This commit is contained in:
parent
7b70c8499d
commit
26a1bda742
1 changed files with 1 additions and 1 deletions
|
@ -1032,7 +1032,7 @@ class Post(models.Model):
|
|||
post.emojis.set(emojis)
|
||||
if published and published < timezone.now():
|
||||
post.published = published
|
||||
if timezone.now() - published > datetime.timedelta(days=2):
|
||||
if timezone.now() - published > datetime.timedelta(days=9):
|
||||
post.state = "fanned_out" # add post quietly if it's old
|
||||
# if attachments:# FIXME
|
||||
# post.attachments.set(attachments)
|
||||
|
|
Loading…
Add table
Reference in a new issue