summaryrefslogtreecommitdiff
path: root/internal/db/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/account.go')
-rw-r--r--internal/db/account.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/db/account.go b/internal/db/account.go
index 419337d6e..6ecfea018 100644
--- a/internal/db/account.go
+++ b/internal/db/account.go
@@ -45,7 +45,7 @@ type Account interface {
PutAccount(ctx context.Context, account *gtsmodel.Account) Error
// UpdateAccount updates one account by ID.
- UpdateAccount(ctx context.Context, account *gtsmodel.Account) Error
+ UpdateAccount(ctx context.Context, account *gtsmodel.Account, columns ...string) Error
// DeleteAccount deletes one account from the database by its ID.
// DO NOT USE THIS WHEN SUSPENDING ACCOUNTS! In that case you should mark the
@@ -86,8 +86,6 @@ type Account interface {
// In the case of no statuses, this function will return db.ErrNoEntries.
GetAccountWebStatuses(ctx context.Context, accountID string, limit int, maxID string) ([]*gtsmodel.Status, Error)
- GetBookmarks(ctx context.Context, accountID string, limit int, maxID string, minID string) ([]*gtsmodel.StatusBookmark, Error)
-
GetAccountBlocks(ctx context.Context, accountID string, maxID string, sinceID string, limit int) ([]*gtsmodel.Account, string, string, Error)
// GetAccountLastPosted simply gets the timestamp of the most recent post by the account.