littlecodersh / ItChat

A complete and graceful API for Wechat. 微信个人号接口、微信机器人及命令行微信,三十行即可自定义个人号机器人。
http://itchat.readthedocs.io
MIT License
25.55k stars 5.64k forks source link

chatroom member fetch failed #741

Open cbwang2016 opened 6 years ago

cbwang2016 commented 6 years ago

478

个人对个人聊天可以收到,群里的信息只收到以下错误: chatroom member fetch failed with @0a836af4242dd9acaed1592956cbc826

我遇到了相同问题。 经检测,这个fetch failed的ID就是自己的ID。也就是说,fetch chatroom member的时候不能fetch自己。 望修复

shiluming commented 6 years ago

same issue. itchat-1.3.10

NKUCodingCat commented 5 years ago

Same here No group message can be received

magneter commented 5 years ago

大佬这个问题无解了吗

fg607 commented 4 years ago

做了一个自动回复机器人,有时需要群里@自己,但是这种情况下msg['IsAt'] = False,不符合逻辑啊。暂时只能这样解决:

 self = (msg['ActualUserName'] == msg['User']['Self']['UserName'])
 msg.isAt = (msg.isAt or self)