From 75aab9f1292d6078bf1f2748dc41fc48dd033359 Mon Sep 17 00:00:00 2001 From: derrickcyt <422780332@qq.com> Date: Mon, 9 Jan 2017 17:17:54 +0800 Subject: [PATCH] fix bug that it can't find group personal name. --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index e87a3d5..bd56c88 100644 --- a/bot.py +++ b/bot.py @@ -71,7 +71,7 @@ class TulingWXBot(WXBot): self.send_msg_by_uid(self.tuling_auto_reply(msg['user']['id'], msg['content']['data']), msg['user']['id']) elif msg['msg_type_id'] == 3 and msg['content']['type'] == 0: # group text message if 'detail' in msg['content']: - my_names = self.get_group_member_name(self.my_account['UserName'], msg['user']['id']) + my_names = self.get_group_member_name(msg['user']['id'], self.my_account['UserName']) if my_names is None: my_names = {} if 'NickName' in self.my_account and self.my_account['NickName']: