mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 09:08:24 +00:00
parent
6bd6dcf6df
commit
1d68fe1a60
|
@ -63,11 +63,7 @@ class ProcessFeedService < BaseService
|
|||
return status unless just_created
|
||||
|
||||
if verb == :share
|
||||
if original_status.reblog?
|
||||
status.reblog = original_status.reblog
|
||||
else
|
||||
status.reblog = original_status
|
||||
end
|
||||
status.reblog = original_status.reblog? ? original_status.reblog : original_status
|
||||
end
|
||||
|
||||
status.thread = find_status(thread(@xml).first) if thread?(@xml)
|
||||
|
|
Loading…
Reference in a new issue