Explorar el Código

调整

develop
H Vs hace 2 meses
padre
commit
f2e8bebd19
Se han modificado 3 ficheros con 6 adiciones y 3 borrados
  1. +1
    -1
      resources/login_resources.py
  2. +4
    -1
      resources/messages_resource.py
  3. +1
    -1
      wechat/biz.py

+ 1
- 1
resources/login_resources.py Ver fichero

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


+ 4
- 1
resources/messages_resource.py Ver fichero

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

+ 1
- 1
wechat/biz.py Ver fichero

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


Cargando…
Cancelar
Guardar