[Standards] XEP-0045 nick changes

Peter Saint-Andre stpeter at stpeter.im
Tue Feb 14 04:09:45 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?

Peter

-- 
Peter Saint-Andre
https://stpeter.im/





More information about the Standards mailing list