forked from x/icebergs
opt some
This commit is contained in:
parent
35730461cb
commit
ae99c1e9c2
@ -361,7 +361,10 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心",
|
||||
} else {
|
||||
// 本地空间
|
||||
m.Richs(ice.WEB_SPACE, nil, "*", func(key string, value map[string]interface{}) {
|
||||
switch value[kit.MDB_TYPE] {
|
||||
case ice.WEB_SERVER, ice.WEB_WORKER:
|
||||
m.Push(key, value, []string{"type", "name", "user"})
|
||||
}
|
||||
})
|
||||
}
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user