From 75cd4f807eedd018f5c4e49f00973a5a20aaeb6c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 3 Feb 2022 09:16:56 -0600 Subject: add constants for built in groups --- src/slskd/Application.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 2b6177d6..2b3b4e0d 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -54,6 +54,21 @@ namespace slskd public sealed class Application : IApplication { + /// + /// The name of the default user group. + /// + public static readonly string DefaultGroup = "default"; + + /// + /// The name of the priviledged user group. + /// + public static readonly string PriviledgedGroup = "priviledged"; + + /// + /// The name of the leecher user group. + /// + public static readonly string LeecherGroup = "leechers"; + private static readonly int ReconnectMaxDelayMilliseconds = 300000; // 5 minutes public Application( -- cgit v1.2.3