Skip to content
New issue

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

contactlist not updated #78

Open
pooluut opened this issue Jun 9, 2020 · 4 comments
Open

contactlist not updated #78

pooluut opened this issue Jun 9, 2020 · 4 comments
Labels
🔥 enhancement New feature or request

Comments

@pooluut
Copy link

pooluut commented Jun 9, 2020

I get the contact list of my bot from api: self.Contact.find_all()

But i found the contact_list is not updated. (Some of my friend not found, Someone I deleted is still there, the alias name is not updated)

I trace the find_all() function and found:

# chatie_grpc/wechaty.py
    async def contact_list(self) -> ContactListResponse:
        request = ContactListRequest()

        return await self._unary_unary(
            "/wechaty.Puppet/ContactList", request, ContactListResponse,
        )

I guess it request the contact list from the remote server.

How can I get the updated contact list?

@pooluut
Copy link
Author

pooluut commented Jun 9, 2020

@huan

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Jun 9, 2020

This is a **_dirty feature which has not been achieved.

@pooluut
Copy link
Author

pooluut commented Jun 9, 2020

This is a **_dirty feature which has not been achieved.

what do you mean by '**_dirty'

@wj-Mcat wj-Mcat added the 🔥 enhancement New feature or request label Jun 9, 2020
@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Jun 9, 2020

what do you mean by '**_dirty'

@wechaty/ducks for example, room_dirty function will tell the hostie-server that room info is dirty, and it should update room info from weixin. So that hostie-server will send right info to python-wechaty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants