Skip to content

Commit c591732

Browse files
committed
simplify state Save
1 parent 5b73bed commit c591732

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStateService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public async Task<Dictionary<string, string>> Load(string conversationId, bool i
234234

235235
public async Task Save()
236236
{
237-
if (_conversationId == null || _sidecar?.IsEnabled == true || _isReadOnly == true)
237+
if (_conversationId == null || _sidecar?.IsEnabled == true || _isReadOnly)
238238
{
239239
return;
240240
}

0 commit comments

Comments
 (0)