From e4c1142d55cd9655051f67d06e8c63576dca583d Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Mon, 4 Sep 2023 13:36:20 -0700 Subject: [PATCH] More thorough blocking behavior --- pkg/models/blocklist.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/models/blocklist.go b/pkg/models/blocklist.go index 7aabc29..92f82c2 100644 --- a/pkg/models/blocklist.go +++ b/pkg/models/blocklist.go @@ -126,10 +126,10 @@ func BlockedUserIDsByUser(userId uint64) []uint64 { return userIDs } -// BlockedUsernames returns all usernames blocked by the user. +// BlockedUsernames returns all usernames blocked by (or blocking) the user. func BlockedUsernames(userId uint64) []string { var ( - userIDs = BlockedUserIDsByUser(userId) + userIDs = BlockedUserIDs(userId) usernames = []string{} )