mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
fix chat create loop
This commit is contained in:
parent
5c858eb440
commit
b238835e71
@ -176,7 +176,7 @@ var Index = &ctx.Context{Name: "chat", Help: "会议中心",
|
||||
|
||||
m.Option("username", m.Conf("runtime", "user.name"))
|
||||
m.Confm("flow", []string{h, "user"}, func(key string, value map[string]interface{}) {
|
||||
if kit.Format(value["user"]) != m.Conf("runtime", "node.route") {
|
||||
if kit.Right(value["user"]) && kit.Format(value["user"]) != m.Conf("runtime", "node.route") {
|
||||
m.Cmd("ssh._route", value["user"], "context", "chat", "ocean", "spawn", h, arg[2])
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user