0
0
Fork 0

Push discovered status through streaming API within a time window (#6484)

Time window of 6 hours
This commit is contained in:
Eugen Rochko 2018-02-17 14:28:48 +01:00 committed by GitHub
parent a7c50c7aba
commit a71af98401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -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