Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
This commit is contained in:
parent
e2c2fefc36
commit
8b94d283fb
2 changed files with 6 additions and 2 deletions
|
@ -29,6 +29,10 @@ class Favourite < ApplicationRecord
|
|||
thread
|
||||
end
|
||||
|
||||
def hidden?
|
||||
status.private_visibility?
|
||||
end
|
||||
|
||||
before_validation do
|
||||
self.status = status.reblog if status.reblog?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue