diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index d0e34880..29323938 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1359,7 +1359,10 @@ namespace slskd { try { - var groupName = Users.GetGroup(username); + // note: users must first be watched or cached for leech and privilege detection to work. + // we are deliberately skipping it here; if the username is watched + // leech detection works and they get accurate info, if not, they won't + var groupName = Users.ResolveGroup(username); var group = Transfers.Uploads.Queue.GetGroupInfo(groupName); // forecast the position at which this user would enter the queue if they were to request |
