[JDEV] type='error' in presence
Jim Seymour
jseymour at LinxNet.com
Sun May 12 09:36:08 CDT 2002
Julian Missig <julian at jabber.org> wrote:
>
> On Sat, 2002-05-11 at 22:43, Jim Seymour wrote:
> > Justin <infiniti at affinix.com> wrote:
> > >
> > > On Friday 10 May 2002 13:43, Jim Seymour wrote:
> > > > Julian Missig <julian at jabber.org> wrote:
> > > > > Well, you treat type='error' however you want, we don't dictate that :)
> > > >
> > > > Well, yes, I realize *that* :). What I'm wondering is if that would
> > > > be the logical thing to do? Seems like it to me.
> > >
> > > I don't think you need to treat it as 'unavailable', the server should take
> > > care of that.
> >
> > One would think. But apparently it does not. Again, the presence
> > message received:
> >
> > <presence from='buddy at jabber.myjabber.org'
> > to='user at jabber.ais.cx/GAIM' type='error'>
> > <status>Online</status>
> > <error code='502'>Server Connect Failed</error>
> > </presence>
> >
>
> Would you rather have the server tell you nothing?
Nope. But I was kind of surprised to see "<status>Online</status>"
and "type='error'" at the same time. Seems kind of contradictory.
> If type= is anything
> other than 'available' then your client shouldn't be blindly assuming
> it's available.
Agreed. It currently does. I wish to fix that. Which is the point
to this entire thread.
>
[snip]
>
> >
> > > Most clients probably don't do
> > > anything with such presence errors though.
> >
> > Seems they should...
>
> What would you recommend?
That's what I'm asking: what the folks here would recommend. As I've
said: ISTM the "buddy" should be shown as, effectively, unavailable--
being as he/she effectively *is* unavailable.
> Having them appear offline, or better yet, if
> your client has an 'unknown' (for subscription type of 'from' or 'none')
> show type seems adequate -- and if the user asks for more information
> (or maybe activates the mechanism to see the 'status' message) you can
> let them know there was an error in obtaining information about this
> user's presence.
I like the "broken lightbulb" idea Tom Parker came up with :). Now
all I have to do is get somebody who is handy with creating graphic
to come up with a broken lightbulb graphic for me ;).
Regards,
Jim
--
Jim Seymour | PGP Public Key available at:
jseymour at LinxNet.com | http://www.uk.pgp.net/pgpnet/pks-commands.html
http://jimsun.LinxNet.com |
More information about the JDev
mailing list