diff --git a/resources/login_resources.py b/resources/login_resources.py index a4a1787..50ba027 100644 --- a/resources/login_resources.py +++ b/resources/login_resources.py @@ -131,7 +131,7 @@ def waitting_login_result(wxchat:gewe_chat.GeWeChatCom, token_id, app_id,region_ config=Models.AgentConfig.model_validate({ "chatroomIdWhiteList": [], "agentTokenId": agent_token_id, - "agentEnabled": True, + "agentEnabled": False, "addContactsFromChatroomIdWhiteList": [], "chatWaitingMsgEnabled": True }) diff --git a/resources/messages_resource.py b/resources/messages_resource.py index ca87928..37a84f3 100644 --- a/resources/messages_resource.py +++ b/resources/messages_resource.py @@ -899,6 +899,9 @@ def remove_markdown_symbol(text: str): # 去除列表编号等 #text = re.sub(r'^\d+\.\s*', '', text, flags=re.MULTILINE) - text = re.sub('[\\\`\*\_\[\]\#\+\-\!\>]', '', text) + + + #text = re.sub('[\\\`\*\_\[\]\#\+\-\!\>]', '', text) + text = re.sub('[\\\`\*\_\[\]\#\+\!\>]', '', text) print(text) return text \ No newline at end of file diff --git a/wechat/biz.py b/wechat/biz.py index 8328661..92ad90a 100644 --- a/wechat/biz.py +++ b/wechat/biz.py @@ -350,7 +350,7 @@ def login_or_reconnect(wxchat:gewe_chat.GeWeChatCom, token_id, app_id, region_id config=Models.AgentConfig.model_validate({ "chatroomIdWhiteList": [], "agentTokenId": agent_token_id, - "agentEnabled": True, + "agentEnabled": False, "addContactsFromChatroomIdWhiteList": [], "chatWaitingMsgEnabled": True })