You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the Contact.findAll() interface to get the buddy list. After filtering friend() and type, I found that some users are not my friends. But the display is my friend. I set him an alias. It will also give an error.
3. 复现的步骤 (或者解决的步骤)
这一部分非常重要,如果你无法给出复现步骤,我们也很难提供相应的解决办法:
复现步骤中一定要给出复现代码
Use the Contact.findAll() interface to get the buddy list. After filtering friend() and type, I found that some users are not my friends. But the display is my friend. I set him an alias. It will also give an error.
publicasyncgetUserID(user: Contact): Promise<string>{let alias =awaituser.alias();if(alias==null){alias=uuid.v4();awaituser.alias(alias);}returnalias;}
4. 期待程序运行的结果
Do not return this user
5. 程序实际运行的结果
Return the user and set alias failed
6. 完整的日志信息:
通过WECHATY_LOG=silly设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info) 请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)
The log is a bit big, please download the zip file. padpro.log.zip
7. 其他信息
有相关bug 的背景信息,可以在这里说明
[bug]
The text was updated successfully, but these errors were encountered:
0. 发 Issue 指南
请在 FAQ 清单 看是否已有解决办法。
请先在issue 中搜关键信息,确认你要发的内容和之前的issue 不重复。
1. 提供你的包版本信息
node --version
获取版本) 10.16.02. Bug 描述
Use the
Contact.findAll()
interface to get the buddy list. After filteringfriend()
and type, I found that some users are not my friends. But the display is my friend. I set him an alias. It will also give an error.3. 复现的步骤 (或者解决的步骤)
这一部分非常重要,如果你无法给出复现步骤,我们也很难提供相应的解决办法:
复现步骤中一定要给出复现代码
Use the
Contact.findAll()
interface to get the buddy list. After filteringfriend()
and type, I found that some users are not my friends. But the display is my friend. I set him an alias. It will also give an error.4. 期待程序运行的结果
Do not return this user
5. 程序实际运行的结果
Return the user and set alias failed
6. 完整的日志信息:
通过
WECHATY_LOG=silly
设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info)请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)
The log is a bit big, please download the zip file.
padpro.log.zip
7. 其他信息
有相关bug 的背景信息,可以在这里说明
[bug]
The text was updated successfully, but these errors were encountered: