Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
This commit is contained in:
@ -28,4 +28,8 @@ class Favourite < ApplicationRecord
|
||||
def target
|
||||
thread
|
||||
end
|
||||
|
||||
before_validation do
|
||||
self.status = status.reblog if status.reblog?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user