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

在群里@人取不到值 #141

Closed
webdq opened this issue Jun 10, 2021 · 6 comments
Closed

在群里@人取不到值 #141

webdq opened this issue Jun 10, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@webdq
Copy link

webdq commented Jun 10, 2021

在群里@后,mentionSelf是false,mentionList是空数组

@vfiee
Copy link

vfiee commented Aug 16, 2021

在群里@后,mentionSelf是false,mentionList是空数组
wechaty-puppet-wechat协议不支持获取到mentionList,wechaty-puppet-padlocal协议支持
image

@huan
Copy link
Member

huan commented Sep 8, 2021

Link to wechaty/wechaty#1991

@huan huan added the question Further information is requested label Sep 8, 2021
@mtit
Copy link

mtit commented Sep 11, 2021

我用这个来判断是否@了我 = =

if (msg.text().indexOf(`@${userName} `) !== -1) 
// 在onLogin事件中记录当前用户名称

@huan huan added bug Something isn't working and removed question Further information is requested labels Sep 11, 2021
@huan
Copy link
Member

huan commented Sep 11, 2021

After I have a check of the code, it seems that we are not supporting the mentionIdList now:

https://github.com/wechaty/wechaty-puppet-wechat/blob/9c7b34e18eb74b90b6d1f609c7a7873b398170ac/src/pure-function-helpers/message-raw-payload-parser.ts#L57-L65

Maybe the code has been lost when we refactoring the code before.

Should be reverted the old codes back, to be investigated, and PR is welcome.

Related Issues & PRs

huan added a commit that referenced this issue Sep 11, 2021
huan added a commit that referenced this issue Sep 11, 2021
* enable mentionIdList (#141)

* 0.29.6
@huan
Copy link
Member

huan commented Sep 11, 2021

Should be fixed with [email protected] or above.

Please let me know if it works for you or not, thank you very much.

@huan
Copy link
Member

huan commented Oct 13, 2021

I'll close this issue because it seems no feedback for bugs anymore.

Feel free to let me know if there's any problem.

@huan huan closed this as completed Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants