[JDEV] Presence bug in Jabber 0.9

Kerem 'Waster_' HADIMLI waster at iname.com
Wed Apr 5 10:50:23 CDT 2000


you should NEVER send a type='available' in <presence> tag. If u don't send
type attribute in <presence>, then it'll mean that you're available. If you
send any type attribute, then it'll mean you're unavailable (please note:
always send type='unavailable' for unavailable mode, although any string in
type attribute will work).

It isn't required to send "<presence/>", if you're sending a <presence> tag
without type attribute. It's just for marking you 'available' in server.

thanks,
Kerem HADIMLI

Nickolai Kussovski wrote:
> 
> Hi,
> I try to send some presence like:
> 
> <presence type="available">
>      <show>chat</show>
> </presence>
> 
> after the initial <presence/>
> 
> The result is that I cannot see anybody's presences after that.
> Any idea?
> 
> Thanks,
> Nike
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.




More information about the JDev mailing list