aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-22 09:39:23 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-02-22 09:39:23 -0600
commit979acc196f01bf53bf0141cf80f684172433d472 (patch)
treeba76a7ff5569e4b16f3d24b9a33d7376e19de4f1 /src/slskd/Application.cs
parent00944550a0fb15df86ce2574e16b6f6785995c8c (diff)
downloadslskd-979acc196f01bf53bf0141cf80f684172433d472.tar.gz
track and expose watched usernames
Diffstat (limited to 'src/slskd/Application.cs')
-rw-r--r--src/slskd/Application.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 47bcd6c9..56d17808 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -593,7 +593,7 @@ namespace slskd
// users with uploads must be watched so that we can keep informed of their
// online status, privileges, and statistics. this is so that we can accurately
// determine their effective group.
- if (Users.Users.Any(u => u.Username == username))
+ if (!Users.IsWatched(username))
{
await Users.WatchAsync(username);
}