1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-12 18:15:54 +08:00
parent b420249a1e
commit 1542a364eb
2 changed files with 2 additions and 2 deletions

View File

@ -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]))

View File

@ -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)))
} }
}}, }},