mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 22:36:21 +01:00
Process mentions and reblogs even from resolved threads (#6299)
This may lead to out-of-order notifications, but this is better than not having notifications at all.
This commit is contained in:
parent
7be53a10b0
commit
b1e03197fa
@ -69,12 +69,13 @@ class ActivityPub::Activity
|
|||||||
def distribute(status)
|
def distribute(status)
|
||||||
crawl_links(status)
|
crawl_links(status)
|
||||||
|
|
||||||
|
notify_about_reblog(status) if reblog_of_local_account?(status)
|
||||||
|
notify_about_mentions(status)
|
||||||
|
|
||||||
# Only continue if the status is supposed to have
|
# Only continue if the status is supposed to have
|
||||||
# arrived in real-time
|
# arrived in real-time
|
||||||
return unless @options[:override_timestamps]
|
return unless @options[:override_timestamps]
|
||||||
|
|
||||||
notify_about_reblog(status) if reblog_of_local_account?(status)
|
|
||||||
notify_about_mentions(status)
|
|
||||||
distribute_to_followers(status)
|
distribute_to_followers(status)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user