{"action":"created","issue":{"url":"https://api.github.com/repos/Chatie/wechaty/issues/1491","repository_url":"https://api.github.com/repos/Chatie/wechaty","labels_url":"https://api.github.com/repos/Chatie/wechaty/issues/1491/labels{/name}","comments_url":"https://api.github.com/repos/Chatie/wechaty/issues/1491/comments","events_url":"https://api.github.com/repos/Chatie/wechaty/issues/1491/events","html_url":"https://github.com/Chatie/wechaty/issues/1491","id":342534622,"node_id":"MDU6SXNzdWUzNDI1MzQ2MjI=","number":1491,"title":"PuppetPuppeteerFier fireRoomJoin() resolve payload fail","user":{"login":"suntong","id":422244,"node_id":"MDQ6VXNlcjQyMjI0NA==","avatar_url":"https://avatars1.githubusercontent.com/u/422244?v=4","gravatar_id":"","url":"https://api.github.com/users/suntong","html_url":"https://github.com/suntong","followers_url":"https://api.github.com/users/suntong/followers","following_url":"https://api.github.com/users/suntong/following{/other_user}","gists_url":"https://api.github.com/users/suntong/gists{/gist_id}","starred_url":"https://api.github.com/users/suntong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suntong/subscriptions","organizations_url":"https://api.github.com/users/suntong/orgs","repos_url":"https://api.github.com/users/suntong/repos","events_url":"https://api.github.com/users/suntong/events{/privacy}","received_events_url":"https://api.github.com/users/suntong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-07-19T00:14:08Z","updated_at":"2018-07-23T16:20:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Whenever someone invite someone into the group, I'll get the following warning output by Puppeteer:\r\n\r\n```\r\n20:11:17 WARN PuppetPuppeteerFier fireRoomJoin() resolve payload fail.\r\n20:11:17 WARN PuppetPuppeteerEvent checkRoomSystem message: <\"XXX\"邀请\"<span class=\"emoji emoji1f338\"></span>YYY\"加入了群聊> not found\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Chatie/wechaty/issues/comments/407116349","html_url":"https://github.com/Chatie/wechaty/issues/1491#issuecomment-407116349","issue_url":"https://api.github.com/repos/Chatie/wechaty/issues/1491","id":407116349,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzExNjM0OQ==","user":{"login":"zixia","id":1361891,"node_id":"MDQ6VXNlcjEzNjE4OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1361891?v=4","gravatar_id":"","url":"https://api.github.com/users/zixia","html_url":"https://github.com/zixia","followers_url":"https://api.github.com/users/zixia/followers","following_url":"https://api.github.com/users/zixia/following{/other_user}","gists_url":"https://api.github.com/users/zixia/gists{/gist_id}","starred_url":"https://api.github.com/users/zixia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zixia/subscriptions","organizations_url":"https://api.github.com/users/zixia/orgs","repos_url":"https://api.github.com/users/zixia/repos","events_url":"https://api.github.com/users/zixia/events{/privacy}","received_events_url":"https://api.github.com/users/zixia/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T16:20:29Z","updated_at":"2018-07-23T16:20:29Z","author_association":"MEMBER","body":"Thanks for the log in details!\r\n\r\nI believe this is an old bug that related to the emoji strip function in PuppetPuppeteer.\r\n\r\nFrom the beginning, we try to strip all the emoji XML from the contact name, but at the same time, we are trying to search a contact with the name that did not strip the emoji XML(like what we did in your logs).\r\n\r\nThe potential two solutions would be:\r\n\r\n1. remove all the emoji XML, including all the search methods;\r\n1. do not remove the emoji XML, keep its original text.\r\n\r\nCurrently, I'd like to use the solution 2, which keeps the emoji XML. \r\n\r\nPlease feel free to let me know what you thought if you have some, thanks."}}
{"actor":{"display_login":"zixia"}}