Merge branch 'openimsdk:main' into main

This commit is contained in:
chao 2024-09-23 11:59:38 +08:00 committed by GitHub
commit 6b043252a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,8 +278,8 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
if req.Conversation.MsgDestructTime != nil { if req.Conversation.MsgDestructTime != nil {
m["msg_destruct_time"] = req.Conversation.MsgDestructTime.Value m["msg_destruct_time"] = req.Conversation.MsgDestructTime.Value
} }
if req.Conversation.MsgDestructTime != nil { if req.Conversation.IsMsgDestruct != nil {
m["msg_destruct_time"] = req.Conversation.MsgDestructTime.Value m["is_msg_destruct"] = req.Conversation.IsMsgDestruct.Value
} }
if req.Conversation.BurnDuration != nil { if req.Conversation.BurnDuration != nil {
m["burn_duration"] = req.Conversation.BurnDuration.Value m["burn_duration"] = req.Conversation.BurnDuration.Value