group member sync use hash (#857)

* fix: create group type limit

* fix: group notification

* fix: group notification

* fix: group notification

* chore: group member hash

* chore: group member hash

* chore: group member hash

* chore: group member hash

* test: log

* test: log

* test: log

* test: log

* test: log

* sync: hash code

* sync: hash code

* sync: hash code

* test: log

* test: log

* test: log

* test: log

* test: log

* fix: time stamp
This commit is contained in:
withchao
2023-08-14 17:55:36 +08:00
committed by GitHub
parent c5d66914fa
commit 57ce0bd29d
6 changed files with 298 additions and 38 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func InitMsgTool() (*MsgTool, error) {
tx.NewGorm(db),
userMongoDB,
)
groupDatabase := controller.InitGroupDatabase(db, rdb, mongo.GetDatabase())
groupDatabase := controller.InitGroupDatabase(db, rdb, mongo.GetDatabase(), nil)
conversationDatabase := controller.NewConversationDatabase(
relation.NewConversationGorm(db),
cache.NewConversationRedis(rdb, cache.GetDefaultOpt(), relation.NewConversationGorm(db)),