More thorough blocking behavior

This commit is contained in:
Noah Petherbridge 2023-09-04 13:36:20 -07:00
parent b619e0c02e
commit e4c1142d55

View File

@ -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{}
)