[Standards] XEP-0045 nick changes

Kim Alvefur zash at zash.se
Tue Feb 14 07:59:32 UTC 2012


> On 1/24/12 2:58 PM, Dave Cridland wrote:
> > I recall - ages ago - that we were going to, at one point, mention that
> > if you change your nickname, you should send unavailable persence after
> > the change to the old nick:
> > 
> > C: <presence to='room at service/new_nick'/>
> > S: <presence from='room at service/old_nick'
> > type='unavailable'>...110/303...</presence>
> > S: <presence from='room at service/new_nick'/>
> > C: <presence to='room at service/old_nick' type='unavailable'/>
> > 
> > The problem being that currently, the server must track directed
> > presence, and so if you change your nickname, the server keeps tracking
> > the old nickname too - and will eventually have to send an unavailable
> > anyway.
> 
> Well, the server could do that immediately (when it accepts the nick
> change), no?

Would it need to after the target JID sends unavailable?

--
Zash



More information about the Standards mailing list