[ejabberd] Modifying packet in offline_message_hook

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Feb 17 19:41:56 MSK 2012


On Feb 17, 2012, at 3:13 PM, Boris Okner wrote:

> Try:
> 
> NewPacket = xml:append_subtags(Packet, [XmlTo]),
> .....
> 
> instead of :
> 
> NewPacket = xml:append_subtags(Packet, XmlTo),
> 
> xml:append_subtags/2 accepts the list of tags as a 2nd parameter as
> opposed to a single tag.
> 
> Hope this helps,
> 

It did help! Thanks a lot!

Regards,

--
Saúl Ibarra Corretgé
AG Projects





More information about the ejabberd mailing list