From d2cdb7bd69ae3b5cf3c5f2b73761c1baa5155ad6 Mon Sep 17 00:00:00 2001 From: oneRain Date: Tue, 19 May 2020 16:58:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=9B=E5=BB=BA=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E5=90=8E=E5=8A=A0=E5=85=A5=E8=87=AA=E5=B7=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Realtime/Internal/Controller/LCIMConversationController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Realtime/Realtime/Internal/Controller/LCIMConversationController.cs b/Realtime/Realtime/Internal/Controller/LCIMConversationController.cs index af0455f..c7e7d16 100644 --- a/Realtime/Realtime/Internal/Controller/LCIMConversationController.cs +++ b/Realtime/Realtime/Internal/Controller/LCIMConversationController.cs @@ -84,6 +84,8 @@ namespace LeanCloud.Realtime.Internal.Controller { conversation.CreatorId = Client.Id; conversation.ids = members != null ? new HashSet(members) : new HashSet(); + // 将自己加入 + conversation.ids.Add(Client.Id); conversation.CreatedAt = DateTime.Parse(response.ConvMessage.Cdate); conversation.UpdatedAt = conversation.CreatedAt; return conversation;