From 1542a364eb1cbe83bcd64d07fb9084b4e79c0cde Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 12 Mar 2024 18:15:54 +0800 Subject: [PATCH] add some --- base/web/dream.go | 2 +- core/team/plan.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/web/dream.go b/base/web/dream.go index 06d2b4d5..4ba6cb53 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -242,7 +242,7 @@ func init() { 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) { 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])) diff --git a/core/team/plan.go b/core/team/plan.go index ecb7f7b2..de85a673 100644 --- a/core/team/plan.go +++ b/core/team/plan.go @@ -70,7 +70,7 @@ func init() { web.StreamPushRefreshConfirm(m, m.Trans("refresh for new message ", "刷新列表,查看最新消息 ")) }}, 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))) } }},