set privateChat

pull/482/head
wangchuxiao 1 year ago
parent 0ae58dac79
commit 5d82447e92

@ -200,7 +200,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbConver
if req.Conversation.GroupAtType != nil {
m["group_at_type"] = req.Conversation.GroupAtType.Value
}
if req.Conversation.IsPrivateChat != nil {
if req.Conversation.IsPrivateChat != nil && req.Conversation.ConversationType != constant.SuperGroupChatType {
var conversations []*tableRelation.ConversationModel
for _, ownerUserID := range req.UserIDs {
conversation2 := conversation

Loading…
Cancel
Save