fix: repeated modification session notification

pull/993/head
withchao 2 years ago
parent 5d2f2adccf
commit a5455c3856

@ -136,7 +136,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
var unequal int
var conv tablerelation.ConversationModel
if len(req.UserIDs) == 1 {
cs, err := c.conversationDatabase.FindConversations(ctx, req.Conversation.UserID, []string{req.Conversation.ConversationID})
cs, err := c.conversationDatabase.FindConversations(ctx, req.UserIDs[0], []string{req.Conversation.ConversationID})
if err != nil {
return nil, err
}

Loading…
Cancel
Save