diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStateService.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStateService.cs index cd4fe9c6..23e589b1 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStateService.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStateService.cs @@ -107,11 +107,6 @@ public class ConversationStateService : IConversationStateService, IDisposable public string GetState(string name, string defaultValue = "") { if (!_states.ContainsKey(name)) - { - _states[name] = defaultValue ?? ""; - } - - if (string.IsNullOrEmpty(_states[name])) { return defaultValue; }