diff options
| author | 2023-07-18 09:43:17 +0100 | |
|---|---|---|
| committer | 2023-07-18 09:43:17 +0100 | |
| commit | f4319740ab02d680961781861335285f618f5f48 (patch) | |
| tree | 133595a10ec93cce9da269a4fa671c226bab7298 /internal/db/bundb/relationship_follow.go | |
| parent | [bugfix] Add missing `continue` statement in `prepareXBetweenIDs` (#1996) (diff) | |
| download | gotosocial-f4319740ab02d680961781861335285f618f5f48.tar.xz | |
[bugfix] more robust list timeline invalidation (#1995)v0.10.0-rc3
Diffstat (limited to 'internal/db/bundb/relationship_follow.go')
| -rw-r--r-- | internal/db/bundb/relationship_follow.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/db/bundb/relationship_follow.go b/internal/db/bundb/relationship_follow.go index 88850e72a..349c1ef43 100644 --- a/internal/db/bundb/relationship_follow.go +++ b/internal/db/bundb/relationship_follow.go @@ -328,7 +328,8 @@ func (r *relationshipDB) DeleteAccountFollows(ctx context.Context, accountID str } // Delete each follow from DB. - if err := r.deleteFollow(ctx, follow.ID); err != nil && !errors.Is(err, db.ErrNoEntries) { + if err := r.deleteFollow(ctx, follow.ID); err != nil && + !errors.Is(err, db.ErrNoEntries) { return err } } |
