mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-09-13 05:15:49 +08:00
Merge 87b7f6aaeb78bdd3c42cbfc565a23a0a19e68371 into 6b3faaef1aaf1d5154bc81d7fdeb575b6f00f1e0
This commit is contained in:
commit
32040cb6aa
@ -47,12 +47,6 @@ func NewConversationMongo(db *mongo.Database) (*ConversationMgo, error) {
|
||||
},
|
||||
Options: options.Index(),
|
||||
},
|
||||
{
|
||||
Keys: bson.D{
|
||||
{Key: "conversation_id", Value: 1},
|
||||
},
|
||||
Options: options.Index().SetUnique(true),
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
return nil, errs.Wrap(err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user