Skip to content

Commit

Permalink
dont update message after send message complete
Browse files Browse the repository at this point in the history
delegate to SyncClient to avoid double updating
  • Loading branch information
huynhsontung committed Dec 23, 2021
1 parent b608148 commit f7f2432
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Indirect/Services/ChatService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7f2432

Please sign in to comment.