mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-26 08:43:15 +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