Hmmm...I'm not seeing how that would work. Suppose user1@mydomain/resource1a sends<div><br></div><div><message type="chat" to="user2@mydomain"><body>hello user2</body></message></div>
<div><br></div><div>Now, in order to make sure user1@mydomain/resource1b also sees the message, the original sender sends what? I was thinking something along the lines of:</div><div><br></div><div><message type="echo" to="user1@mydomain"><body>hello user2</body><original-recipient>user2@mydomain</original-recipient></message></div>
<div><br></div><div>Without that extra element, how's user1@mydomain/resource1b supposed to know who they're chatting with?</div><div><br></div><div>Dan</div><div><br></div><div>PS I just also discovered XEP-0033. I will see if I can use that. Ejabberd definitely does not support XEP-0280.</div>
<div><div><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 8:59 AM, Alexey Nezhdanov <span dir="ltr"><<a href="mailto:snakeru@gmail.com" target="_blank">snakeru@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Just send stanza as is, no?<br>
You don't need any custom elements, all data is already there.</p>
<div class="gmail_quote"><div><div>On Jan 5, 2012 12:00 AM, "Daniel Dormont" <<a href="mailto:dan@greywallsoftware.com" target="_blank">dan@greywallsoftware.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div>Hi XMPP-ers,</div><div><br></div>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.<div>
<br></div><div>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)?</div>
<div><br></div><div>thanks,</div><div>Dan</div>
<br></div></div>_______________________________________________<br>
JDev mailing list<br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
<br></blockquote></div>
<br>_______________________________________________<br>
JDev mailing list<br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
<br></blockquote></div><br></div></div>