[Standards] XEP-0045 nick changes

Peter Saint-Andre stpeter at stpeter.im
Wed Feb 15 18:00:44 UTC 2012


On 2/15/12 5:01 AM, Dave Cridland wrote:
> On Tue Feb 14 04:09:45 2012, Peter Saint-Andre 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?
> 
> No, your server has no real idea it *is* a nick change, without tracking
> a lot more.

It sounds like someone needs to write a spec proposal. Have at it. :)

Peter

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





More information about the Standards mailing list