From 516cde85e3ffa0120bfe03214493c4590282af8e Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Fri, 8 Mar 2024 16:02:35 -0600 Subject: [PATCH] minor change --- .../BackgroundServices/ConversationTimeoutService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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