From 418e4e79804370709796b9dfeef754e3e5d3a16b Mon Sep 17 00:00:00 2001 From: comma Date: Sat, 6 Jan 2024 16:37:02 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 9bacce6..3217e13 100644 --- a/client.go +++ b/client.go @@ -141,7 +141,7 @@ func (w *WxHelper) GetContactList(isShowTool bool) (friends []Friend, err error) var onlyFriends []Friend for _, v := range friends { // 固定开头 - if strings.HasPrefix(v.Wxid, "wxid") { + if strings.HasPrefix(v.Wxid, "wxid") || strings.HasSuffix(v.Wxid, "@chatroom") { onlyFriends = append(onlyFriends, v) } }