Skip to content

Commit c2f0ce6

Browse files
committed
fix bug that it can't find group personal name.
1 parent 188aed5 commit c2f0ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def handle_msg_all(self, msg):
7171
self.send_msg_by_uid(self.tuling_auto_reply(msg['user']['id'], msg['content']['data']), msg['user']['id'])
7272
elif msg['msg_type_id'] == 3 and msg['content']['type'] == 0: # group text message
7373
if 'detail' in msg['content']:
74-
my_names = self.get_group_member_name(self.my_account['UserName'], msg['user']['id'])
74+
my_names = self.get_group_member_name(msg['user']['id'], self.my_account['UserName'])
7575
if my_names is None:
7676
my_names = {}
7777
if 'NickName' in self.my_account and self.my_account['NickName']:

0 commit comments

Comments
 (0)