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没有uin字段了吗? #1276

Closed
Astlvk opened this issue Jun 4, 2018 · 4 comments
Closed

最新版本Contact没有uin字段了吗? #1276

Astlvk opened this issue Jun 4, 2018 · 4 comments
Labels

Comments

@Astlvk
Copy link

Astlvk commented Jun 4, 2018

version 0.15.97
打印后找不到uin了 不知还有这个字段吗
想用来作联系人的唯一值的。

@huan
Copy link
Member

huan commented Jun 4, 2018

You can use yourContact.id as the unique id for the contact after v0.15.

uin had been dropped because we have to encapsulate the data payload in order to support different Puppet implementations.

@Astlvk
Copy link
Author

Astlvk commented Jun 4, 2018

联系人 id 的话好像每次重新登陆也都会变动?

@huan
Copy link
Member

huan commented Jun 4, 2018

The answer depends.

  • Yes - id will change everytime you re-login: if you are using PuppetPuppeteer, which is based on the web API.
  • No - id will keep the same across different login sessions: if you use the latest PuppetPadchat

Please check out the latest code from the master branch and have a look, also welcome to join the alpha test!

See: #1245

@huan huan removed this from the v0.16 Connecting with the Cloud & App milestone Jun 4, 2018
@Astlvk
Copy link
Author

Astlvk commented Jun 4, 2018

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants