We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当接受到 FriendshipType.FRIENDSHIP_TYPE_RECEIVE 并处理通过后 wechaty随即报错 internal error 【看起来好像wxwork的friendship 的类型比普通微信多?所以枚举出现问题?】
if friendship.type() == FriendshipType.FRIENDSHIP_TYPE_RECEIVE: contact = friendship.contact() for key, _list in self.valitated_users.items(): if contact.contact_id in _list: await friendship.accept() return
The text was updated successfully, but these errors were encountered:
发现普通用户如果把企微用户删了,之后再添加,貌似会出现一种新的 friendship type……
2022-09-02 21:54:45,166 - Wechaty - INFO - receive <ready> event <EventReadyPayload(data='ready')> 2022-09-02 21:54:50,980 - Wechaty - INFO - receive <friendship> event <EventFriendshipPayload(friendship_id='e9d14199-2e11-4504-b8a1-150ce37881a2')> 2022-09-02 21:54:50,981 - FriendShip - INFO - Friendship constructor e9d14199-2e11-4504-b8a1-150ce37881a2 2022-09-02 21:54:50,981 - FriendShip - INFO - ready() sync the friendship payload 2022-09-02 21:54:51,022 - Wechaty - ERROR - internal error <5 is not a valid FriendshipType>
Sorry, something went wrong.
It seems that the MessageType is not align with the reponse from wxwork. It's actually a bug, we will check it later.
wj-Mcat
No branches or pull requests
requirements
Describe your problem
当接受到 FriendshipType.FRIENDSHIP_TYPE_RECEIVE 并处理通过后
wechaty随即报错 internal error
【看起来好像wxwork的friendship 的类型比普通微信多?所以枚举出现问题?】
Reproduce your problem
The text was updated successfully, but these errors were encountered: