[JDEV] type='error' in presence

Justin infiniti at affinix.com
Sun May 12 14:03:17 CDT 2002


On Sunday 12 May 2002 07:36, Jim Seymour wrote:
> > > 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.

All contacts are assumed to be unavailable unless otherwise noted.  In the 
case of the presence error, it contains the bounced xml.  That 
<status>Online</status> part came from _you_.

> 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.

Yes, show them as unavailable.  This should be easy since they should already 
be in that state.

> 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 ;).

Yes, some sort of passive information to the user would be acceptable.  I'm 
considering putting a graphic next to the contact to represent this, and 
possibly some further info in the roster item tooltip.

-Justin



More information about the JDev mailing list