Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
This commit is contained in:
@ -160,6 +160,7 @@ class Status < ApplicationRecord
|
||||
|
||||
before_validation do
|
||||
text.strip!
|
||||
self.reblog = reblog.reblog if reblog? && reblog.reblog?
|
||||
self.in_reply_to_account_id = thread.account_id if reply?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user