aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Messaging/API/Controllers/ConversationsController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-21 15:03:53 -0600
committerJP Dillingham <jp@dillingham.me>2022-11-21 15:03:53 -0600
commitab15c236a7faddc851d082f5c76c52720a9a3dda (patch)
tree1772f2b5de0f917249adefdf8edeeec22e011dc9 /src/slskd/Messaging/API/Controllers/ConversationsController.cs
parentca7476025c3e63b3e2d78ecc601ef3001c3cff84 (diff)
downloadslskd-ab15c236a7faddc851d082f5c76c52720a9a3dda.tar.gz
rename OperationMode to RelayMode
Diffstat (limited to 'src/slskd/Messaging/API/Controllers/ConversationsController.cs')
-rw-r--r--src/slskd/Messaging/API/Controllers/ConversationsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Messaging/API/Controllers/ConversationsController.cs b/src/slskd/Messaging/API/Controllers/ConversationsController.cs
index 65608ae3..90e7f380 100644
--- a/src/slskd/Messaging/API/Controllers/ConversationsController.cs
+++ b/src/slskd/Messaging/API/Controllers/ConversationsController.cs
@@ -60,7 +60,7 @@ namespace slskd.Messaging.API
private IStateMonitor<State> ApplicationStateMonitor { get; }
private IConversationTracker Tracker { get; }
private IOptionsSnapshot<Options> OptionsSnapshot { get; }
- private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<OperationMode>() == OperationMode.Agent;
+ private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<RelayMode>() == RelayMode.Agent;
/// <summary>
/// Acknowledges the given message id for the given username.