[JDEV] Presence bug in Jabber 0.9
Nickolai Kussovski
nike at webmessenger.bg
Thu Apr 6 03:22:48 CDT 2000
Thanks,
this worked.
But I found something else that really sound like a bug:
1. Let A and B have subscription of type both to each other
2. Connect user A and send let's say
<presence>
<show>chat</show>
<presence>
3. Connect user B with the same presence.
4. User B receives
<presence from='A'>
<show>chat</show>
<x xmlns='jabber:x:delay' from='A' stamp='20000406T15:42:50'/>
</presence>
5. B tries to send:
<presence>
<show>chat</show>
<presence>
and here comes the problem: A doesn't receive anything.
If A sends another presence to B, after that he is able to receive such presences from B.
> 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.
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20000406/3bb75192/attachment-0002.htm>
More information about the JDev
mailing list