-
-
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
add sys message in FriendRequest Event #260
Comments
sys message as follows 簡體中文:
The issue only friend event not work, other event is work. |
Please help me to confirm whether it has a space between Thanks |
No space for Chinese. thank you. Add wechaty log:
Regards, |
@JOHNBASS please try the latest code and tell us whether it works |
@lijiarui I got it, i will try and feedback result. thank you! |
@lijiarui Sorry for the closing, because I put a I remember there's a Wechaty developer who is from Taiwan(using traditional Chinese). It would be wonderful if he could help us to add Traditional Chinese support to those messages. |
@lijiarui Always not work for English language. testing log:
|
Thanks @JOHNBASS , could you paste the following log here? 1.Run
|
1.Run wechaty run doctor(for docker user), paste output here `ubuntu@ip-172-31-46-80:/home/wechat/wechaty$ sudo docker run -ti --rm --volume="$(pwd)":/bot zixia/wechaty test.ts \ \ / /__ | | __ | | _ _
/ | _ __ _ __ ___ | |() __ __ _ / | | __ | || __ ) ___ | | ___ Starting Wechaty ... v0.7.32 Working directory: /bot |
1. About full logIt seems you are using docker, and the docker version If you want to try the latest, you should use or @zixia Could you give some suggestion? 2. Set WECHATY_LOG to sillyrun wechaty with the following code:
you can click wiki/docker get more information. |
@lijiarui thank you! \ \ / /__ | | __ | | _ _
/ | _ __ _ __ ___ | |() __ __ _ / | | __ | || __ ) ___ | | ___ Starting Wechaty ... v0.7.32 Working directory: /bot https://login.weixin.qq.com/qrcode/wb_ulLkU7Q== https://login.weixin.qq.com/qrcode/wb_ulLkU7Q== |
@JOHNBASS I guess because your wechaty version isn't the latest, I saw @zixia updated docker an hour ago, you can try the following code:
Then run wechaty run doctor(for docker user), check your wechaty version, if you get version is |
Ok, i will try it. Thank you very much! |
@lijiarui wechaty script :
server log:
|
@JOHNBASS Glad to hear that ! I want to clear one thing: So I suggest add a What's more, if you could paste the full code and I'll try it on my server using your wechat, maybe I can catch the bug. |
I add a wechaty script :
server log:
|
@JOHNBASS |
@lijiarui I can get add friend event, but i can not run await request.accept() |
@JOHNBASS If there isn't any detailed problem, I'll close the issue. |
According to the reply of JohnChang in Wechaty Developers' Home:
Expected behavior
fire friendRequest event when accepted a friend request
Actual behavior
cannot fire friendRequest event
Fix
This bug because we cannot recognize this sys message, so wechaty cannot fire friendrequest event. I will add sys message in fire.ts then.
sys message as follows:
If others have any sys message, please help to add in this issue, Thanks!
The text was updated successfully, but these errors were encountered: