[JDEV] type='error' in presence

Julian Missig julian at jabber.org
Fri May 10 13:42:29 CDT 2002


Well, you treat type='error' however you want, we don't dictate that :)

Your guess as to the cause of the error was correct. 

On Fri, 2002-05-10 at 10:03, Jim Seymour wrote:
> Hi,
> 
> Recently a Gaim user complained that he had buddies (a buddy) showing
> up as on-line who was in fact *not* on-line.  It appears the relevant
> xml looked like this (long line split):
> 
>     <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>
> 
> I'm guessing that jabber.ais.cx was unable to contact
> jabber.myjabber.org for some reason.
> 
> I assume that in such a case I should treat the error pretty much as I
> would a type='unavailable' (other than possibly reporting the error, as
> well)?
> 
> 
> Thanks,
> Jim





More information about the JDev mailing list