aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-15 09:12:56 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-09-15 09:12:56 -0500
commitc73283a43726f83d334619a910d8921d9c8b9592 (patch)
tree27664e762f4f9d7c62876132d3d5a9eca69df5e4 /src
parent5c12a3fef78033d8c06f782c5a3cf7d332b989d5 (diff)
downloadslskd-c73283a43726f83d334619a910d8921d9c8b9592.tar.gz
add Rooms to state
Diffstat (limited to 'src')
-rw-r--r--src/slskd/State.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/State.cs b/src/slskd/State.cs
index d87761ca..bff2dc5b 100644
--- a/src/slskd/State.cs
+++ b/src/slskd/State.cs
@@ -17,6 +17,7 @@
namespace slskd
{
+ using System;
using System.Net;
using System.Text.Json.Serialization;
using Soulseek;
@@ -32,6 +33,7 @@ namespace slskd
public bool PendingShareRescan { get; init; }
public ServerState Server { get; init; } = new ServerState();
public SharedFileCacheState SharedFileCache { get; init; } = new SharedFileCacheState();
+ public string[] Rooms { get; init; } = Array.Empty<string>();
}
public record VersionState