aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/config.md2
-rw-r--r--src/slskd/Users/UserService.cs1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 92798196..a582c783 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -683,11 +683,13 @@ soulseek:
| Command-Line | Environment Variable | Description |
| -------------------- | -------------------------- | --------------------------------------------- |
| `--slsk-description` | `SLSKD_SLSK_DESCRIPTION` | The user description for the Soulseek network |
+| `--slsk-picture` | `SLSKD_SLSK_PICTURE` | The user picture for the Soulseek network |
#### **YAML**
```yaml
soulseek:
description: A slskd user. https://github.com/slskd/slskd
+ picture: path/to/slsk-profile-picture.jpg
```
## Connection Options
diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs
index 2e312f69..ead1d812 100644
--- a/src/slskd/Users/UserService.cs
+++ b/src/slskd/Users/UserService.cs
@@ -75,6 +75,7 @@ namespace slskd.Users
IOptionsMonitor<Options> optionsMonitor)
{
Client = soulseekClient;
+
OptionsMonitor = optionsMonitor;
OptionsMonitor.OnChange(options => Configure(options));