You can connect with a custom resource, and then send the message/iq
directly to the resource.  If you send an iq instead of message, then the
server will not default to sending it to the user's generic client if the
custom client is not connected.

On Fri, Feb 5, 2010 at 11:20 PM, Davide Cerbo <[email protected]> wrote:

> Hi all, I am developing a little application to do an experiment.
> I have the following scenario:
> - one XMPP bot with id [email protected])
> - one user connect with a generic client, with id [email protected] and that
> have the XMPP bot between his contacts
> - the same user with id [email protected] connect from my custom client
>
> It's possible to send a message from [email protected] to [email protected] connected
> with my custom client?
> I do not want that the user logged with generic client receive the message.
> I need it because I want to send via XMPP: chat messages and also command
> to throw some events in my custom client and I do not like if the user views
> them.
>
> Any suggest would be very appreciate.
> I hope you understand my explanation because I'm an Italian boy and my
> english is not so good :)
> Thank you very much
>
> --
> --
> Davide Cerbo
> -----------
> http://davide.cerbo.born-to-co.de
> http://jesty.it
> -----------
> http://www.exmachina.ch
> + 39 329 70 81 927
> -----------
>
> _______________________________________________
> JDev mailing list
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: [email protected]
> _______________________________________________
>
>


-- 
- Norman Rasmussen
- Email: [email protected]
- Home page: http://norman.rasmussen.co.za/
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to