Open
Description
requirements
- token type: padlocal
- version of python-wechaty
21:30:03 βΊ pip freeze|grep wechat
wechaty==0.8.63
wechaty-grpc==0.20.19
wechaty-puppet==0.4.21
wechaty-puppet-service==0.8.10
- version of wechaty docker image: 0.65
Describe your problem
Puppet is ok, handle other events normally, but invitation accept failed.
Reproduce your problem
async def on_room_invite(self, room_invitation: RoomInvitation) -> None:
logger.info("room_invitation: %s", room_invitation)
await room_invitation.accept()
Error info
2022-08-02 21:17:33,083 - Wechaty - INFO - receive <room-invite> event <EventRoomInvitePayload(room_invitation_id='2660393251955049397')>
2022-08-02 21:17:33,083 - RoomInvitation - INFO - load () <2660393251955049397>
2022-08-02 21:17:33,083 - RoomInvitation - INFO - __init__ () <RoomInvitation <2660393251955049397>>
2022-08-02 21:17:33,083 - bot - INFO - room_invitation: RoomInvitation <2660393251955049397>
2022-08-02 21:17:33,083 - RoomInvitation - INFO - accept() <RoomInvitation <2660393251955049397>>
2022-08-02 21:17:33,083 - Wechaty - ERROR - internal error <puppet not set>