fix: conversation update

pull/458/head
Gordon 2 years ago
parent 93ebd534da
commit 21d1e672cd

@ -210,6 +210,9 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbConver
if req.Conversation.IsPinned != nil { if req.Conversation.IsPinned != nil {
m["is_pinned"] = req.Conversation.IsPinned.Value m["is_pinned"] = req.Conversation.IsPinned.Value
} }
if req.Conversation.GroupAtType != nil {
m["group_at_type"] = req.Conversation.GroupAtType.Value
}
if req.Conversation.IsPrivateChat != nil { if req.Conversation.IsPrivateChat != nil {
var conversations []*tableRelation.ConversationModel var conversations []*tableRelation.ConversationModel
for _, ownerUserID := range req.UserIDs { for _, ownerUserID := range req.UserIDs {

Loading…
Cancel
Save