Closed webdq closed 2 years ago
在群里@后,mentionSelf是false,mentionList是空数组 wechaty-puppet-wechat协议不支持获取到mentionList,wechaty-puppet-padlocal协议支持
我用这个来判断是否@了我 = =
if (msg.text().indexOf(`@${userName} `) !== -1)
// 在onLogin事件中记录当前用户名称
After I have a check of the code, it seems that we are not supporting the mentionIdList
now:
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.
Should be fixed with wechaty-puppet-wechat@0.29.7
or above.
Please let me know if it works for you or not, thank you very much.
I'll close this issue because it seems no feedback for bugs anymore.
Feel free to let me know if there's any problem.
在群里@后,mentionSelf是false,mentionList是空数组