update logic.

This commit is contained in:
Monet Lee 2024-08-22 17:35:56 +08:00
parent a33588990c
commit 1f3752df83

View File

@ -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)
}
}