diff options
Diffstat (limited to 'src/slskd/Users/IUserService.cs')
| -rw-r--r-- | src/slskd/Users/IUserService.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs index 3c716116..e78b1b1c 100644 --- a/src/slskd/Users/IUserService.cs +++ b/src/slskd/Users/IUserService.cs @@ -32,6 +32,11 @@ namespace slskd.Users IReadOnlyList<User> Users { get; } /// <summary> + /// Gets the list of watched usernames. + /// </summary> + IReadOnlyList<string> WatchedUsernames { get; } + + /// <summary> /// Gets the name of the group for the specified <paramref name="username"/>. /// </summary> /// <param name="username">The username of the peer.</param> @@ -76,6 +81,13 @@ namespace slskd.Users Task<bool> IsPrivilegedAsync(string username); /// <summary> + /// Gets a value indicating whether the specified <paramref name="username"/> is watched. + /// </summary> + /// <param name="username">The username of the peer.</param> + /// <returns>A value indicating whether the username is watched.</returns> + bool IsWatched(string username); + + /// <summary> /// Adds the specified username to the server-side user list. /// </summary> /// <param name="username">The username of the peer.</param> |
