ons 2008-10-15 klockan 06:18 -0600 skrev Peter Saint-Andre: > Marcus Lundblad wrote: > > tis 2008-10-14 klockan 11:56 -0600 skrev Peter Saint-Andre: > >> Marcus Lundblad wrote:
> >> I think the natural way to send idle time would be to include a notation > >> when changing from available to away, or > >> from away to extended away. > >> > > > > Sounds reasonable. > > Indeed, the existing namespace could be used here: > > <presence from='[EMAIL PROTECTED]/orchard'> > <show>away</show> > <query xmlns='jabber:iq:last' seconds='720'/> > </presence> > > <presence from='[EMAIL PROTECTED]/orchard'> > <show>xa</show> > <query xmlns='jabber:iq:last' seconds='7200'/> > </presence> > > Shall I add an example of that to the spec? > This looks good IMHO. Maybe we should mention the case when there is no such element in a <presence/> to implicitly be interpreted as "not idle (0 seconds)". F.ex. when a user comes back from idleness and the client sends updated presence it would look like: <presence > <show>available</show> </presence> //Marcus > /psa >
