根据参数创建频道

This commit is contained in:
zwssunny
2023-03-27 18:25:54 +08:00
parent 5b85e60d5d
commit f76e8d9a77
2 changed files with 2 additions and 1 deletions

View File

@@ -190,7 +190,7 @@ class WechatChannel(Channel):
thread_pool_callback)
def handle_group_voice(self, msg):
if conf().get('speech_recognition') != True:
if conf().get('group_speech_recognition') != True:
return
logger.debug("[WX]receive group voice msg: " + msg['FileName'])
group_name = msg['User'].get('NickName', None)