Hi Guys,<br><br>Sorry to keep hastling you. I have a couple of questions.<br><br>I have a service that uses pubsub (I got it working brilliantly).<br><ol><li>Pubsub seems to store the messages that have been sent when a subscribing user is offline. Is there any to disable this? I was thinking that mod_offline would be a default plugin, but I am not sure and I can't work it out after reading the documentation.</li>
<li>Mod_Rest: This works brilliantly when sending messages, however, I need to send the following pubsub iq stanza (which mod_rest doesn't seem to support) does anyone have any ideas how I could do this?<br></li></ol>
The iq that I need to send from a http/rest end point is<br><br><iq type="set" to="<a href="http://pubsub.qire.view.qire.co.uk">pubsub.qire.view.qire.co.uk</a>" id="publish1"><br> <pubsub xmlns="<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>"><br>
<publish node="/home/<a href="http://qire.view.qire.co.uk/admin/CTI">qire.view.qire.co.uk/admin/CTI</a>"><br> <item>({ id: 1, action: "InQueue", Salutation: "Mr Paul Kinlan" })</item><br>
</publish><br> </pubsub><br></iq><br><br>If it means that I use mod_rest to send the "admin" user a message and that user then pubishes the message that is ok, but I need to understand how to do (I am still new to ejabberd).<br>
<br>Thanks.<br>Paul.<br>