diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-02-22 09:39:23 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-02-22 09:39:23 -0600 |
| commit | 979acc196f01bf53bf0141cf80f684172433d472 (patch) | |
| tree | ba76a7ff5569e4b16f3d24b9a33d7376e19de4f1 /src/slskd/Application.cs | |
| parent | 00944550a0fb15df86ce2574e16b6f6785995c8c (diff) | |
| download | slskd-979acc196f01bf53bf0141cf80f684172433d472.tar.gz | |
track and expose watched usernames
Diffstat (limited to 'src/slskd/Application.cs')
| -rw-r--r-- | src/slskd/Application.cs | 2 |
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); } |
