mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
favourites GET implementation (#95)
This commit is contained in:
@@ -17,6 +17,11 @@ type Filter interface {
|
||||
//
|
||||
// This function will call StatusVisible internally, so it's not necessary to call it beforehand.
|
||||
StatusHometimelineable(targetStatus *gtsmodel.Status, requestingAccount *gtsmodel.Account) (bool, error)
|
||||
|
||||
// StatusPublictimelineable returns true if targetStatus should be in the public timeline of the requesting account.
|
||||
//
|
||||
// This function will call StatusVisible internally, so it's not necessary to call it beforehand.
|
||||
StatusPublictimelineable(targetStatus *gtsmodel.Status, timelineOwnerAccount *gtsmodel.Account) (bool, error)
|
||||
}
|
||||
|
||||
type filter struct {
|
||||
|
Reference in New Issue
Block a user