Closed assegaf closed 10 years ago
hi,
just notice about this function
protected function sendMessageReceived($msg) .... $messageHash["type"] = "chat"; ....
I see this also executed doing many message notification, like this one (receive profile image change) : rx [message from="628151XXXXXX@s.whatsapp.net" id="1172606828" type="notification" t="1374144652" ] rx [notify xmlns="urn:xmpp:whatsapp" name="Nadia Makes"][/notify] rx [request xmlns="urn:xmpp:receipts"][/request] rx [notification type="picture"] rx [set jid="628151XXXXXX@s.whatsapp.net" id="1374144652"][/set] rx [/notification] rx [/message]
is it that we must return the same type as it, so as "notification" not "chat"
@shirioko can you show sample of $array ?
31650568134Sšfqª#˜Z:í¯vÌ<™o2&1375966295WhatsApp/2.10.222 Android/4.2.2 Device/LGE-Nexus_4 MccMnc/204001
https://github.com/venomous0x/WhatsAPI/commit/cefc05ceda6c85fbf99dae867328ddf83d32a743
hi,
just notice about this function
protected function sendMessageReceived($msg) .... $messageHash["type"] = "chat"; ....
I see this also executed doing many message notification, like this one (receive profile image change) : rx [message from="628151XXXXXX@s.whatsapp.net" id="1172606828" type="notification" t="1374144652" ] rx [notify xmlns="urn:xmpp:whatsapp" name="Nadia Makes"][/notify] rx [request xmlns="urn:xmpp:receipts"][/request] rx [notification type="picture"] rx [set jid="628151XXXXXX@s.whatsapp.net" id="1374144652"][/set] rx [/notification] rx [/message]
is it that we must return the same type as it, so as "notification" not "chat"