Skip to content

Commit

Permalink
allow fanout old post within 9 days instead of 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Her Email authored and alphatownsman committed Nov 23, 2023
1 parent 7b70c84 commit 26a1bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion takahe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ def create_local(
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)
Expand Down

0 comments on commit 26a1bda

Please sign in to comment.