mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-25 04:32:10 +08:00
revert change.
This commit is contained in:
parent
749ec0b445
commit
d3e72347e2
@ -163,8 +163,7 @@ func (c *ConversationMgo) FindUserID(ctx context.Context, userIDs []string, conv
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
func (c *ConversationMgo) FindUserIDAllConversationID(ctx context.Context, userID string) ([]string, error) {
|
func (c *ConversationMgo) FindUserIDAllConversationID(ctx context.Context, userID string) ([]string, error) {
|
||||||
return mongoutil.Find[string](ctx, c.coll, bson.M{"owner_user_id": userID},
|
return mongoutil.Find[string](ctx, c.coll, bson.M{"owner_user_id": userID}, options.Find().SetProjection(bson.M{"_id": 0, "conversation_id": 1}))
|
||||||
options.Find().SetProjection(bson.M{"_id": 0, "conversation_id": 1}))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ConversationMgo) FindUserIDAllNotNotifyConversationID(ctx context.Context, userID string) ([]string, error) {
|
func (c *ConversationMgo) FindUserIDAllNotNotifyConversationID(ctx context.Context, userID string) ([]string, error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user