[jdev] Echo outgoing chat messages back to myself
Daniel Dormont
dan at greywallsoftware.com
Wed Jan 4 20:00:11 UTC 2012
Hi XMPP-ers,
I've noticed that certain clients (Gmail's web interface most notably)
automatically replicate my chat conversations in all windows I have open.
I'm wondering how to implement something similar using an XMPP client and
server. I control both client and server but don't want to make too many
custom modifications if I can help it. As a first step, the easiest thing
seems to be to send all messages to a bare JID rather than full JID. From
the user's standpoint this correctly causes all messages they receive to
appear everywhere.
But what about sent messages? Is there a simple way to have messages I (as
a user) send echoed back to my other connected resources? Or should I just
send a second message to my own bare JID with some sort of custom element
that indicates it was really a message to someone else (and who that
someone else is)?
thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20120104/479b1998/attachment.htm>
More information about the JDev
mailing list