-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
当用户昵称中含有表情时,无法触发room-join 事件 #64
Comments
第一次是iphone的表情昵称拉人(web中不显示表情) Show LogsSILL PuppetWebEvent onServerDing(heartbeat@browser) SILL Message constructor() SN:5 |
this bug is related to the wechat security policy:
unfortunately, if a user put emoji inside their name, then any 2 of the 3 names A B C will be not equal. even worse, in some sys message, wechat web version will strip the emoji. for the above reason, the only way to fix this, is totally ignore all the emoji in user name. |
@lijiarui could you try the latest code again to confirm if the bug is fixed? thanks |
I think ignore all emoji characters is not a good solution. |
@sinofool This proposal is reasonable and acceptable. Could you create a new issue to discuss this? |
Run
npm run doctor
and paste the output hereWechaty Doctor
Expected behavior
当用户昵称中含有表情的时候,该修改群名称,可以触发room-topic 事件。并将群名称改回来。
用户昵称为:李佳芮😂
代码如下:
Actual behavior
当用户昵称中含有表情的时候,修改昵称后。无法出发room-join事件
Steps to reproduce the behavior (and fixes, if any)
Paste the full output logs here with
WECHATY_LOG=silly
set当用户昵称含有表情时候的contact日志:
The text was updated successfully, but these errors were encountered: