I've implemented a chrome extension which allow to use XMPP chat over BOSH connection with punjab server running on a remote server. It is implemented using javascript Strophe library. The issue I'm running into is when I have multiple sessions of the same user (e.g. two different browsers on the same machine) I can't receive and log to the second chat window the message I sent from first chat window. There needs to be some mechanism which allows that. Can I somehow receive messages I have sent to some other user? The issue can also be reproduced on 2 or more different machines so this needs to be solved too.
Thank you.