Trying to use the ‘from’ attribute as a #jid, but no success.
Using a #received_packet{from=From}
trying: exmpp_jid:is_jid(From)
returns: false
How to use the information provided by #received_packet as a jid()?
Record #received_packet from attribute |
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||