forked from lxh/go-wxhelper
🎨 逻辑优化
This commit is contained in:
parent
349d0e6bc0
commit
7a5b46858d
@ -131,7 +131,7 @@ func Sync() {
|
||||
// 如果已存在但是是已退出的群,也通知一下
|
||||
if !oldMap[friend.Wxid] {
|
||||
newItmes[friend.Wxid] = friend.Nickname
|
||||
}
|
||||
|
||||
// 通知一下,初始化完成
|
||||
if conf, ok := config.Conf.Resource["introduce"]; ok {
|
||||
// 发送一条新消息
|
||||
@ -155,6 +155,7 @@ func Sync() {
|
||||
utils.SendPublicMsg(friend.Wxid, title, desc, url, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 群成员,同步一下成员信息
|
||||
if strings.Contains(friend.Wxid, "@chatroom") {
|
||||
|
Loading…
Reference in New Issue
Block a user