aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-12-10 14:41:50 -0600
committerGitHub <noreply@github.com>2023-12-10 14:41:50 -0600
commit63f33da082ebac1df954f48947bfe4373aed3941 (patch)
tree80edb8737be495b024992e00c2f2ca0b7735270a
parente06a15d35fd8f819796d25aeeb6971604011f3fd (diff)
parentb900cacdf1803d8bc924dd09ef185073dac67231 (diff)
downloadslskd-63f33da082ebac1df954f48947bfe4373aed3941.tar.gz
Merge pull request #1012 from slskd/rooms-docs
Add documentation for auto-join feature
-rw-r--r--docs/config.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 37de6c41..bd100455 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -429,6 +429,29 @@ groups:
- bob
```
+# Chat Rooms and Private Messaging
+
+## Auto-Joining Rooms
+
+A configured list of chat rooms will now be automatically joined on connect.
+
+The list can be specified via command line (e.g. --rooms <room1> --rooms <room2>), with the SLSKD_ROOMS environment variable (rooms separated by a semicolon).
+
+Additionally, when the client is disconnected, any rooms that were joined at the time of the disconnect are rejoined upon reconnect, as long as the app hasn't been restarted in between.
+
+
+| Command-Line | Environment Variable | Description |
+| ------------- | ---------------------| ----------------------------------------|
+| `--rooms` | `ROOMS` | A list of chat rooms to join on startup |
+
+#### **YAML**
+```yaml
+rooms:
+ - <room 1>
+ - <room 2>
+```
+
+
# Soulseek Configuration
The Soulseek configuration determines how slskd interacts with the Soulseek network and underlying [Soulseek.NET](https://github.com/jpdillingham/Soulseek.NET) library.