mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-11 23:47:32 +08:00
fix: repeated modification session notification
This commit is contained in:
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…
x
Reference in New Issue
Block a user