<p>Even simple cases of nickname changes can be fun. Consider the case where an occupant is sent an Iq and its nickname change crosses on the wire.</p>
<div class="gmail_quote">On Aug 23, 2012 6:31 PM, "Peter Saint-Andre" <<a href="mailto:stpeter@stpeter.im">stpeter@stpeter.im</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 8/22/12 6:18 AM, Bartosz Małkowski wrote:<br>
> Hi!<br>
><br>
> I have a question about changing nickname by MUC Room occupant,<br>
> when he is connected from one bareJid to room as few nicknames.<br>
><br>
> Suppose that we have: nickname1 (from resources: /resource1,<br>
> /resource2) nickname2 (from resource: /resource3)<br>
><br>
> let /resource1 change nickname to 'nickname2'<br>
><br>
> I think that MUC can skip inform other occupants about it, but what<br>
> about inform /resource1?<br>
><br>
> MUC can't send <presence type='unavailable' from='nickname1'<br>
> to='/resource1'>…<status code='303'/> becuase /resource1 removes<br>
> 'nickname1' from occupants list (this is wrong, because /resource2<br>
> is still known as 'nickname1')<br>
><br>
> How to inform client that changing nickname is finished? How client<br>
> should recognize that nickname is changed?<br>
<br>
Heh, good question. There are a lot of complexities about allowing<br>
multiple resources to share the same roomnick. We started to add a<br>
bunch of text to XEP-0045 about this, then realized that it probably<br>
requires a separate specification.<br>
<br>
Peter<br>
<br>
- --<br>
Peter Saint-Andre<br>
<a href="https://stpeter.im/" target="_blank">https://stpeter.im/</a><br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAlA2aOMACgkQNL8k5A2w/vy1fQCgwiWB7Q8n7BpLu/owPjauNB/j<br>
lDMAoMu2Gn3eOn3pCOx6za91K7ASIQ/w<br>
=zazI<br>
-----END PGP SIGNATURE-----<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">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</blockquote></div>