forked from x/icebergs
add some
This commit is contained in:
parent
b420249a1e
commit
1542a364eb
@ -242,7 +242,7 @@ func init() {
|
|||||||
aaa.White(m, kit.Keys(m.ShortKey(), ctx.ACTION, cmd))
|
aaa.White(m, kit.Keys(m.ShortKey(), ctx.ACTION, cmd))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
m.GoSleep(cli.TIME_30s, func() {
|
m.GoSleep(cli.TIME_3s, func() {
|
||||||
mdb.HashSelects(m).Table(func(value ice.Maps) {
|
mdb.HashSelects(m).Table(func(value ice.Maps) {
|
||||||
if value[cli.RESTART] == ALWAYS && nfs.Exists(m, path.Join(ice.USR_LOCAL_WORK+value[mdb.NAME])) {
|
if value[cli.RESTART] == ALWAYS && nfs.Exists(m, path.Join(ice.USR_LOCAL_WORK+value[mdb.NAME])) {
|
||||||
m.Cmd(DREAM, cli.START, kit.Dict(mdb.NAME, value[mdb.NAME]))
|
m.Cmd(DREAM, cli.START, kit.Dict(mdb.NAME, value[mdb.NAME]))
|
||||||
|
@ -70,7 +70,7 @@ func init() {
|
|||||||
web.StreamPushRefreshConfirm(m, m.Trans("refresh for new message ", "刷新列表,查看最新消息 "))
|
web.StreamPushRefreshConfirm(m, m.Trans("refresh for new message ", "刷新列表,查看最新消息 "))
|
||||||
}},
|
}},
|
||||||
web.DREAM_CREATE: {Hand: func(m *ice.Message, arg ...string) {
|
web.DREAM_CREATE: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
if ice.Info.Important {
|
if ice.Info.Important && !m.IsCliUA() {
|
||||||
PlanInsertPlan(m, web.DREAM, "", m.Option(mdb.NAME), web.CHAT_IFRAME, web.S(m.Option(mdb.NAME)))
|
PlanInsertPlan(m, web.DREAM, "", m.Option(mdb.NAME), web.CHAT_IFRAME, web.S(m.Option(mdb.NAME)))
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user