[Pidgin] #8738: XMPP: Only send XHTML if there is markup

Pidgin trac at pidgin.im
Mon Aug 24 12:42:16 EDT 2009


#8738: XMPP: Only send XHTML if there is markup
------------------------+---------------------------------------------------
 Reporter:  darkrain42  |        Owner:  darkrain42
     Type:  patch       |       Status:  closed    
Milestone:  2.6.0       |    Component:  XMPP      
  Version:  2.5.5       |   Resolution:  fixed     
 Keywords:  xhtml       |  
------------------------+---------------------------------------------------

Comment(by darkrain42):

 Replying to [comment:7 jts]:
 > Does this break compatibility with pidgin 2.5.5 (and earlier)? Messages
 sent from 2.6.1 are not displayed by pidgin 2.5.5, and I seem to remember
 the older versions render only the XHTML body payload, not the "real"
 (unqualified namespace) body. If this is correct, is there a workaround
 (other, of course, than upgrading from 2.5.5 to 2.6.1)? Thanks.

 To the best of my knowledge, not sending the XHTML is not the issue (per
 se). You might be running in to a known issue with older versions of
 libxml2 (Pidgin's configure.ac now prints this warning for versions older
 than 2.6.18: {{{ Versions of libxml2 < 2.6.18 may contain bugs that could
 cause XMPP messages to be discarded.}}}).

 I'm not familiar with the specifics of that bug, but upgrading libxml2 or
 patching away the bug would be the best solution; upgrading those users to
 2.6.1 would probably not aid the solution.

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


More information about the Tracker mailing list