wechaty / puppet-padlocal

Puppet PadLocal is a Pad Protocol for WeChat
https://wechaty.js.org/docs/puppet-providers/padlocal
Apache License 2.0
642 stars 88 forks source link

Unknown type of handoff type="2" #69

Closed suntong closed 3 years ago

suntong commented 3 years ago

Found one kind of messages that should be recognized but currently returning as type of Unknown:

<msg>
<op id='11'>
<name>HandOffMaster</name>
<arg><handofflist opcode="4" seq="19755" deviceid="Af280034414b488a" networkstatus="wifi" availablecount="1000">
            <handoff type="2" id="ae5137e9-1130-48da-9fbb-fc4fe849c9c3" createtime="1619232208518" from="" to="">
        <handofftype><![CDATA[1]]></handofftype>
        <title><![CDATA[腾讯看点]]></title>
<url><![CDATA[https://kandianshare.html5.qq.com/v2/news/3273008975897200962?cardmode=1&docId=3273008975897200962&from_app=qb&sGuid=5ba2de54db0695a883e625fb13b788cb&sQueryId=1619231379336&sUserId=&sUserType=-1&sh_sid=5__2a63c15644086e46__5ba2de54db0695a883e625fb13b788cb&target_app=kb]]></url>
<icon><![CDATA[]]></icon>
    </handoff>
        </handofflist></arg>
</op>
</msg> 
suntong commented 3 years ago

Here is another example:

<msg>
<op id='11'>
<name>HandOffMaster</name>
<arg><handofflist opcode="4" seq="19761" deviceid="Af280034414b488a" networkstatus="wifi" availablecount="1000">
            <handoff type="2" id="2fc757b8-7ee9-4fac-8e63-f06b7a62a5b7" createtime="1619234731322" from="" to="">
        <handofftype><![CDATA[1]]></handofftype>
        <title><![CDATA[加国无忧]]></title>
<url><![CDATA[https://m.51.ca/info/news/world/2021-04/990307.html]]></url>
<icon><![CDATA[]]></icon>
    </handoff>
        </handofflist></arg>
</op>
</msg> 

I think it is just the normal URL type.

suntong commented 3 years ago

Oh, maybe it is just me visiting urls in WX?

<msg>
<op id='11'>
<name>HandOffMaster</name>
<arg><handofflist opcode="4" seq="19762" deviceid="Af280034414b488a" networkstatus="wifi" availablecount="1000">
            <handoff type="2" id="2fc757b8-7ee9-4fac-8e63-f06b7a62a5b7" createtime="1619234731322" from="" to="">
        <handofftype><![CDATA[1]]></handofftype>
        <title><![CDATA[加国无忧]]></title>
<url><![CDATA[https://m.51.ca/404]]></url>
<icon><![CDATA[]]></icon>
    </handoff>
        </handofflist></arg>
</op>
</msg> 

I now think it is me visiting urls in WX on my cellphone, and padlocal as a remote client get notified.

If someone can confirm that, we can close this issue. thx

suntong commented 3 years ago

I now believe so.