fix: group voice config and azure model calc support

This commit is contained in:
zhayujie
2023-07-01 13:17:08 +08:00
parent 973acb37ed
commit 709b5be634
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ class WechatChannel(ChatChannel):
@_check
def handle_group(self, cmsg: ChatMessage):
if cmsg.ctype == ContextType.VOICE:
if conf().get("speech_recognition") != True:
if conf().get("group_speech_recognition") != True:
return
logger.debug("[WX]receive voice for group msg: {}".format(cmsg.content))
elif cmsg.ctype == ContextType.IMAGE: