[Pidgin] #533: GAIM_MESSAGE_RAW flag never used, even for not formatted messages

Pidgin trac at pidgin.im
Thu May 3 00:30:43 EDT 2007


#533: GAIM_MESSAGE_RAW flag never used, even for not formatted messages
---------------------------+------------------------------------------------
  Reporter:  asashnov      |       Owner:        
      Type:  enhancement   |      Status:  closed
  Priority:  minor         |   Milestone:        
 Component:  pidgin (gtk)  |     Version:  2.0   
Resolution:  invalid       |    Keywords:        
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by asashnov):

 If I send message 'test' without any formatting, Pingin send following
 packet:

 http://paste.org.ru/?tdzj1q

 By RFC 3921, only text part is necessary:

 <message type="chat" id="gaimc502527a" to="asashnov at om.beeonline.ru/sim">
   <body> test</body>
 </message>

 XHTML-IM described in XEP-0071 as optionally, text part is always must be
 used:
 -------------------------
 In Jabber/XMPP communications, the meaning of the message MUST always be
 represented as best as possible in the normal <body/> child element or
 elements of the <message/>

 The sending client MUST ensure that, if XHTML content is sent, its meaning
 is the same as that of the plaintext version, and that the two versions
 differ only in markup rather than meaning.
 -------------------------

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


More information about the Tracker mailing list