[JDEV] Presence messages
Chris
cjbehm at mail.com
Thu Aug 31 13:45:11 CDT 2000
on 08/31/2000 02:19 PM, Robert Temple at RWTEMPLE at go.com wrote:
> According to the JPG, section 2.7:
> Jabber clients should set the user's presence to "available" after the login.
>
> It doesn't seem like most clients send:
> <presence type="available">...</presence> when they
> login, instead the type="available" part is left out,
> and a <status>online</status> stuck inside of the presence
> element.
>
> When they logout they do send a presence message with
> type="unavailable".
>
> Is the type attribute assumed to be "available" when it
> is left out? Or are most clients just implementing
> this incorrectly?
available is the default setting and actually should be left out when
sending an avail presence. The documentation should explicitly state that.
Docs have always been Jabber's weak point, but they are getting better
(thanks guys! ;)
Chris
More information about the JDev
mailing list