mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Change link previews to keep original URL from the status (#27312)
This commit is contained in:
@@ -280,7 +280,7 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
||||
end
|
||||
|
||||
def reset_preview_card!
|
||||
@status.preview_cards.clear
|
||||
@status.reset_preview_card!
|
||||
LinkCrawlWorker.perform_in(rand(1..59).seconds, @status.id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user