[Standards] XEP-0045 nick changes

Peter Saint-Andre stpeter at stpeter.im
Tue Feb 14 15:39:54 UTC 2012


On 2/14/12 12:59 AM, Kim Alvefur wrote:
>> 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?

No, but depending on clients to do this seems slightly unrealistic, if
they haven't been doing it up till now.

Peter

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





More information about the Standards mailing list