summaryrefslogtreecommitdiff
path: root/internal/db/relationship.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-24 17:56:48 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-24 17:56:48 +0200
commitc7cfbe2702913a6d6e7c962992546c96aa512068 (patch)
tree4b0bb21aab9be586d5db26d172f548e12c07f96e /internal/db/relationship.go
parentGoreleaser (#241) (diff)
downloadgotosocial-c7cfbe2702913a6d6e7c962992546c96aa512068.tar.xz
Unblock fix (#247)
* start tests for inbox posts * go mod tidy * rename transferContext * test block/unblock * improve logging * improve logging * fix comment typo
Diffstat (limited to 'internal/db/relationship.go')
-rw-r--r--internal/db/relationship.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/relationship.go b/internal/db/relationship.go
index 804526425..c43b3d9ac 100644
--- a/internal/db/relationship.go
+++ b/internal/db/relationship.go
@@ -26,7 +26,7 @@ import (
// Relationship contains functions for getting or modifying the relationship between two accounts.
type Relationship interface {
- // IsBlocked checks whether account 1 has a block in place against block2.
+ // IsBlocked checks whether account 1 has a block in place against account2.
// If eitherDirection is true, then the function returns true if account1 blocks account2, OR if account2 blocks account1.
IsBlocked(ctx context.Context, account1 string, account2 string, eitherDirection bool) (bool, Error)