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

PuppetPadchat: The contact.star() doesn't work #1413

Closed
kis87988 opened this issue Jun 28, 2018 · 3 comments
Closed

PuppetPadchat: The contact.star() doesn't work #1413

kis87988 opened this issue Jun 28, 2018 · 3 comments

Comments

@kis87988
Copy link
Contributor

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China) U.S.
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using? None

Run in docker
Wechaty v0.17.46 with Node.js v10.5.0

.on('message', async msg => {
  const contact = msg.from()
  const content: string = msg.text()
  const room: Room | null = msg.room()
  if (msg.self() || !contact)
  {
    return // skip self
  }
  const contact_star = await contact.star()
  console.log("contact star:", contact_star) //output null
})

Expected behavior

Boolean

Actual behavior

Null

@lijiarui
Copy link
Member

Thanks!

And this feature hasn't been implemented by wechaty-padchat yet...

@huan
Copy link
Member

huan commented Jul 2, 2018

@lijiarui Please move this conversation to the puppet-padchat repo, thanks.

@lijiarui
Copy link
Member

lijiarui commented Jul 2, 2018

Ok

@lijiarui lijiarui closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants