diff --git a/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs index 3f453485..088d0f37 100644 --- a/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs @@ -51,9 +51,7 @@ namespace BotSharp.OpenAPI.BackgroundServices .OrderBy(x => x.Priority) .ToList(); var moment = DateTime.UtcNow.Add(-conversationIdleTimeout); - var conversations = - (await conversationService.GetLastConversations()) - .Where(c => c.CreatedTime <= moment); + var conversations = (await conversationService.GetLastConversations()).Where(c => c.CreatedTime <= moment); foreach (var conversation in conversations) { try