More thorough blocking behavior
This commit is contained in:
parent
b619e0c02e
commit
e4c1142d55
|
@ -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{}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user