chore: optimize modification and send notifications (#992)

pull/975/head
withchao 1 year ago committed by GitHub
parent 4ce4548ca1
commit 40a4952fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -133,7 +133,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
// }
// }
}
cs, err := c.conversationDatabase.GetConversationsByConversationID(ctx, []string{req.Conversation.ConversationID})
cs, err := c.conversationDatabase.FindConversations(ctx, req.Conversation.UserID, []string{req.Conversation.ConversationID})
if err != nil {
return nil, err
}

Loading…
Cancel
Save