[jdev] Protect message between multiple client instance
davidecerbo at gmail.com
Sat Feb 6 06:16:17 CST 2010
Thanks all for the suggestes.
The solution proposed by Norman sounds good but doesn't works for me.
The bot and the users use Google Talk as server and it doesn't filter
the message by resource. I have some trouble to send IQ message, but
now I'm working to solve.
The solution proposed by Vaner works well.
Thanks very much to everyone now I have get the right way to solve my problem :)
2010/2/6 Michal 'vorner' Vaner <vorner at ucw.cz>
> On Sat, Feb 06, 2010 at 12:20:07AM +0100, Davide Cerbo wrote:
> > It's possible to send a message from bot at abc.com to user at abc.com 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.
> This suggests you want to send some usual messages with body and so on to
> accomplish some automated communication with the client and not the user, right?
> May I suggest you use some different XML namespace in the messages so the
> generic client does not know them even when it gets there by some mistake and
> does not interpret them? Sorry if I misunderstood what you want to do.
> Have a nice day.
> ~, sweet ~
> Michal 'vorner' Vaner
> JDev mailing list
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
+ 39 329 70 81 927
More information about the JDev