<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>this worked.</FONT></DIV>
<DIV><FONT face=Arial size=2>But I found something else that really sound like a
bug:</FONT></DIV>
<DIV><FONT face=Arial size=2>1. Let A and B have subscription of type both to
each other</FONT></DIV>
<DIV><FONT face=Arial size=2>2. Connect user A and send let's say </FONT></DIV>
<DIV><FONT face=Arial size=2> <presence></FONT></DIV>
<DIV><FONT face=Arial size=2>
<show>chat</show></FONT></DIV>
<DIV><FONT face=Arial size=2> <presence></FONT></DIV>
<DIV><FONT face=Arial size=2>3. Connect user B with the same
presence.</FONT></DIV>
<DIV><FONT face=Arial size=2>4. User B receives </FONT></DIV>
<DIV><FONT face=Arial size=2> <presence
from='A'></FONT></DIV>
<DIV><FONT face=Arial
size=2> <show>chat</show></FONT></DIV>
<DIV><FONT face=Arial size=2> <x
xmlns='jabber:x:delay' from='A' stamp='20000406T15:42:50'/></FONT></DIV>
<DIV><FONT face=Arial size=2> </presence></FONT></DIV>
<DIV><FONT face=Arial size=2>5. B tries to send:</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2> <presence></FONT></DIV>
<DIV><FONT face=Arial size=2>
<show>chat</show></FONT></DIV>
<DIV><FONT face=Arial size=2>
<presence></FONT></DIV></DIV>
<DIV><FONT face=Arial size=2>and here comes the problem: <FONT color=#ff0000>A
doesn't receive anything.</FONT></FONT></DIV>
<DIV><FONT color=#ff0000 face=Arial size=2>If A sends another presence to B,
after that he is able to receive such presences from B.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>> you should NEVER send a type='available' in
<presence> tag. If u don't send<BR>> type attribute in
<presence>, then it'll mean that you're available. If you<BR>> send any
type attribute, then it'll mean you're unavailable (please note:<BR>> always
send type='unavailable' for unavailable mode, although any string in<BR>>
type attribute will work).<BR>> <BR>> It isn't required to send
"<presence/>", if you're sending a <presence> tag<BR>> without
type attribute. It's just for marking you 'available' in server.<BR>>
<BR>> thanks,<BR>> Kerem HADIMLI<BR>> <BR>> Nickolai Kussovski
wrote:<BR>> > <BR>> > Hi,<BR>> > I try to send some presence
like:<BR>> > <BR>> > <presence type="available"><BR>>
> <show>chat</show><BR>> >
</presence><BR>> > <BR>> > after the initial
<presence/><BR>> > <BR>> > The result is that I cannot see
anybody's presences after that.<BR>> > Any idea?<BR>> > <BR>>
> Thanks,<BR>> > Nike<BR>> > <BR>> >
_______________________________________________<BR>> > jdev mailing
list<BR>> > </FONT><A href="mailto:jdev@jabber.org"><FONT face=Arial
size=2>jdev@jabber.org</FONT></A><BR><FONT face=Arial size=2>> > </FONT><A
href="http://mailman.jabber.org/listinfo/jdev"><FONT face=Arial
size=2>http://mailman.jabber.org/listinfo/jdev</FONT></A><BR><FONT face=Arial
size=2>> <BR>> -- <BR>> If it happens once, it's a bug.<BR>> If it
happens twice, it's a feature.<BR>> If it happens more than twice, it's a
design philosophy.<BR>> <BR>>
_______________________________________________<BR>> jdev mailing
list<BR>> </FONT><A href="mailto:jdev@jabber.org"><FONT face=Arial
size=2>jdev@jabber.org</FONT></A><BR><FONT face=Arial size=2>> </FONT><A
href="http://mailman.jabber.org/listinfo/jdev"><FONT face=Arial
size=2>http://mailman.jabber.org/listinfo/jdev</FONT></A></DIV></BODY></HTML>