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

Contact.findAll() return contactList includes oa account #222

Closed
lijiarui opened this issue Jan 27, 2017 · 1 comment
Closed

Contact.findAll() return contactList includes oa account #222

lijiarui opened this issue Jan 27, 2017 · 1 comment

Comments

@lijiarui
Copy link
Member

Expected behavior

use function Contact.findAll() to get all the contact list.
It should return all my real contact, shouldn't include oa account

Actual behavior

Contact.findAll() return the contactLIst includes oa account.

@huan
Copy link
Member

huan commented Jan 27, 2017

Wechat(webwxApp) always treat all contact(include OA account) as the same.

So the implementation of Wechaty in the current version, OA Account is also a Contact.

I'll close this issue for now. In the future, you can purpose a new design to separate the Contact type, and we can discuss based on that.

@huan huan closed this as completed Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants