[Pidgin] #4322: [XMPP] Invisible mode violating standard

Pidgin trac at pidgin.im
Tue Dec 18 07:11:59 EST 2007


#4322: [XMPP] Invisible mode violating standard
---------------------+------------------------------------------------------
  Reporter:  js      |       Owner:  nwalp
      Type:  defect  |      Status:  new  
  Priority:  minor   |   Milestone:       
 Component:  XMPP    |     Version:  2.3.1
Resolution:          |    Keywords:       
   Pending:  1       |  
---------------------+------------------------------------------------------
Changes (by js):

  * pending:  1 => 0

Comment:

 Sending a presence of type invisible *IS* a violation of both, the XMPP
 Core and the XMPP Messaging standard. It should use privacy lists instead.
 You should have a look at XEP 0126 which clearly states the standard
 violation at the beginning:
 “Several popular instant messaging services implement a feature known as
 invisibility: the ability to remain online yet appear offline to some or
 all of one's contacts. A number of Jabber servers and clients have also
 implemented such a feature, using special values of the <presence/>
 element's 'type' attribute (e.g., <presence type='invisible'/>).
 Unfortunately, such implementations are not compliant with XMPP Core [1]
 and XMPP IM [2], which specify that only the 'type' attribute values
 defined in the XML schema for the 'jabber:client' and 'jabber:server'
 namespaces are allowed in XMPP (and those values do not include
 "invisible"). However, RFC 3921 also defines a privacy lists protocol
 (i.e., the 'jabber:iq:privacy' namespace) that can be used to implement
 invisibility in an XMPP-compliant manner. This specification documents how
 to do just that.”
 So you should instead implement XEP 0126 which does not violate any
 standard.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4322#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list