mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
sync opt
This commit is contained in:
parent
b4844a8a88
commit
02b4c012ad
@ -99,7 +99,7 @@ func (m *Mongo) createMongoIndex(collection string, isUnique bool, keys ...strin
|
||||
index := mongo.IndexModel{
|
||||
Keys: keysDoc,
|
||||
}
|
||||
if isUnique == true {
|
||||
if isUnique {
|
||||
index.Options = options.Index().SetUnique(true)
|
||||
}
|
||||
result, err := indexView.CreateOne(
|
||||
|
@ -167,6 +167,11 @@ message RevokeMsgReq {
|
||||
message RevokeMsgResp {
|
||||
}
|
||||
|
||||
message DeleteSyncOpt {
|
||||
bool IsSyncSelf = 3;
|
||||
bool IsSyncOther = 4;
|
||||
}
|
||||
|
||||
message ClearConversationsMsgReq {
|
||||
repeated string conversationIDs = 1;
|
||||
string userID = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user