Push discovered status through streaming API within a time window (#6484)
Time window of 6 hours
This commit is contained in:
parent
a7c50c7aba
commit
a71af98401
3 changed files with 8 additions and 2 deletions
|
@ -74,7 +74,7 @@ class ActivityPub::Activity
|
|||
|
||||
# Only continue if the status is supposed to have
|
||||
# arrived in real-time
|
||||
return unless @options[:override_timestamps]
|
||||
return unless @options[:override_timestamps] || status.within_realtime_window?
|
||||
|
||||
distribute_to_followers(status)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue