From 1f3752df8316223fc43633fc7774bfabe71b1364 Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Thu, 22 Aug 2024 17:35:56 +0800 Subject: [PATCH] update logic. --- internal/rpc/conversation/conversaion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/conversation/conversaion.go b/internal/rpc/conversation/conversaion.go index fd57713bd9..f00c970e65 100644 --- a/internal/rpc/conversation/conversaion.go +++ b/internal/rpc/conversation/conversaion.go @@ -247,7 +247,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver if len(conversationList) != 0 { conversationMap[userID] = conversationList[0] } else { - conversationMap[userID] = &dbModel.Conversation{} + needUpdateUsersList = append(needUpdateUsersList, userID) } }