1
This commit is contained in:
parent
f07ac19f0a
commit
2572736f6b
14
server/imserver_new/cache/cachemgr.go
vendored
14
server/imserver_new/cache/cachemgr.go
vendored
@ -105,13 +105,15 @@ func (this *cacheMgr) internalGetUsers(accountIds []string, cb func(int32, strin
|
|||||||
subTask.SetFail()
|
subTask.SetFail()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
accountId := ds.GetByName("account_id")
|
if ds.Next() {
|
||||||
u := this.getUser(accountId)
|
accountId := ds.GetByName("account_id")
|
||||||
if u == nil {
|
u := this.getUser(accountId)
|
||||||
u = newUserProfile()
|
if u == nil {
|
||||||
|
u = newUserProfile()
|
||||||
|
}
|
||||||
|
u.loadFromDb(ds)
|
||||||
|
this.userHash[u.accountId] = u
|
||||||
}
|
}
|
||||||
u.loadFromDb(ds)
|
|
||||||
this.userHash[u.accountId] = u
|
|
||||||
if i + 1 < len(keys) {
|
if i + 1 < len(keys) {
|
||||||
i++
|
i++
|
||||||
subTask.Continue()
|
subTask.Continue()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user