Ver código fonte

fix: single voice to text bug

develop
lanvent 1 ano atrás
pai
commit
432b39a9c4
1 arquivos alterados com 0 adições e 3 exclusões
  1. +0
    -3
      channel/wechat/wechat_channel.py

+ 0
- 3
channel/wechat/wechat_channel.py Ver arquivo

@@ -297,9 +297,6 @@ class WechatChannel(Channel):
match_prefix = check_prefix(content, conf().get('single_chat_prefix'))
if match_prefix: # 判断如果匹配到自定义前缀,则返回过滤掉前缀+空格后的内容
content = content.replace(match_prefix, '', 1).strip()
else:
logger.info("[WX]receive voice, checkprefix didn't match")
return
img_match_prefix = check_prefix(content, conf().get('image_create_prefix'))
if img_match_prefix:


Carregando…
Cancelar
Salvar