refactor: improve setConversations method. (#3194)

This commit is contained in:
Monet Lee 2025-03-07 17:03:40 +08:00 committed by OpenIM-Robot
parent 56fe999b60
commit 2e9b8a817a

View File

@ -269,6 +269,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
return nil, err
}
}
if req.Conversation.ConversationType == constant.WriteGroupChatType {
groupInfo, err := c.groupClient.GetGroupInfo(ctx, req.Conversation.GroupID)
if err != nil {