[jdev] [MUC] Changing Nickname
stpeter at stpeter.im
Thu Aug 23 17:31:15 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 8/22/12 6:18 AM, Bartosz Małkowski wrote:
> I have a question about changing nickname by MUC Room occupant,
> when he is connected from one bareJid to room as few nicknames.
> Suppose that we have: nickname1 (from resources: /resource1,
> /resource2) nickname2 (from resource: /resource3)
> let /resource1 change nickname to 'nickname2'
> I think that MUC can skip inform other occupants about it, but what
> about inform /resource1?
> MUC can't send <presence type='unavailable' from='nickname1'
> to='/resource1'>…<status code='303'/> becuase /resource1 removes
> 'nickname1' from occupants list (this is wrong, because /resource2
> is still known as 'nickname1')
> How to inform client that changing nickname is finished? How client
> should recognize that nickname is changed?
Heh, good question. There are a lot of complexities about allowing
multiple resources to share the same roomnick. We started to add a
bunch of text to XEP-0045 about this, then realized that it probably
requires a separate specification.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the JDev