Skip to content

Commit 4869c45

Browse files
committedNov 10, 2016
Adding MPS support to Wechat Slave
1 parent 9f07dfc commit 4869c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎plugins/wechat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def add_friend(self, userName=None, status=2, ticket="", userInfo={}):
410410
def get_chats(self, group=True, user=True):
411411
r = []
412412
if user:
413-
t = itchat.get_contract(True)
413+
t = itchat.get_contract(True) + itchat.get_mps(True)
414414
for i in t:
415415
r.append({
416416
'channel_name': self.channel_name,

0 commit comments

Comments
 (0)