[Pidgin] #13055: jabber available presence with show or status are not reported
Pidgin
trac at pidgin.im
Sat Dec 11 00:24:07 EST 2010
#13055: jabber available presence with show or status are not reported
--------------------+-------------------------------------------------------
Reporter: stuge | Owner: deryni
Type: defect | Status: pending
Milestone: | Component: XMPP
Version: 2.7.5 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Changes (by darkrain42):
* status: new => pending
Comment:
Quoting [http://tools.ietf.org/html/draft-ietf-xmpp-
3921bis-17#section-4.7.2.1 draft-ietf-xmpp-3921bis-17 section 4.7.2.1]
(the original rfc3921 says the same thing),
{{{
The OPTIONAL <show/> element specifies the particular availability
sub-state of an entity or a specific resource thereof. A presence
stanza MUST NOT contain more than one <show/> element. There are no
attributes defined for the <show/> element. The XML character data
of the <show/> element is not meant for presentation to a human user.
The XML character data MUST be one of the following (additional
availability states could be defined through a child element of the
presence stanza that is qualified by a namespace other than the
default namespace):
o away -- The entity or resource is temporarily away.
o chat -- The entity or resource is actively interested in chatting.
o dnd -- The entity or resource is busy (dnd = "Do Not Disturb").
o xa -- The entity or resource is away for an extended period (xa =
"eXtended Away").
}}}
The debug log does note why it's ignoring the presence (although it
appears it's getting further into libpurple than it should):
{{{
(21:23:15) jabber: Invalid value of presence <show/> attribute: online
(21:23:15) g_log: purple_prpl_got_user_status: assertion `status_id !=
NULL' failed
}}}
The <show/> element is not free-form; <status/> is. This works just fine
for me:
{{{
<presence to='paul at dev.darkrain42.org'
id='consolefdf0d72c'><status>online</status><priority>6</priority></presence>
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/13055#comment:5>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list