Skip to content

[Bug]: 无法获取缓存中的消息 #417

Open
@HengeLiu

Description

@HengeLiu

Environment

pip list | grep wechaty
- wechaty                0.10.7
- wechaty-grpc           0.20.19
- wechaty-puppet         0.4.23
- wechaty-puppet-service 0.8.10

- token type: padlocal
- the version of wechaty docker container: [0.65]

Description

1. 使用类方法Message.find()和Message.find_all()报错,提示cls._puppet为空;
2. 使用实例方法message.find()和message.find_all()返回空数组。

已在issue315中描述了详情:https://github.com/wechaty/python-wechaty/issues/315#issuecomment-1837825465

Minimum reproducible code

async def on_message(message: Message): logger.info("Message: {}".format(message)) ms = await message.find(talker_id=message.talker().get_id()) await message.say("Hello")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions