From f7f2432299a1cba00b92bbaed1b9ca9ac22a1eb3 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Thu, 23 Dec 2021 03:44:09 -0800 Subject: [PATCH] dont update message after send message complete delegate to SyncClient to avoid double updating --- Indirect/Services/ChatService.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Indirect/Services/ChatService.cs b/Indirect/Services/ChatService.cs index adce903..b1cd2c8 100644 --- a/Indirect/Services/ChatService.cs +++ b/Indirect/Services/ChatService.cs @@ -68,11 +68,7 @@ public async Task SendMessage(DirectThreadWrapper thread, string message) } else { - var responseThread = await SendTextMessage(thread, message); - if (responseThread != null) - { - thread.Update(responseThread); - } + await SendTextMessage(thread, message); } } finally