Revision 1ecefcd32c7e148295c28ea340ce29bb339bd133

evands at evands at
Sun Jun 10 16:37:18 EDT 2007

Revision: 1ecefcd32c7e148295c28ea340ce29bb339bd133
Ancestor: d9be0bf21110f9b99d2909aae7fa26f23486e6d0
Author: evands at
Date: 2007-06-10T20:36:24
Branch: im.pidgin.pidgin

Modified files:


If a message is known to be too long to send to a chat or IM, and it's an HTML message, strip the HTML, re-encode, and try again. The chat part is particularly useful given the short maximum message length and the fact that purple_markup_linkify() will have linkified long links to being twice the number of characters.  The IM part is not triggerred in my experience because MAXMSGLEN seems to be far above the number of characters allowed; perhaps it is a number of bytes, not characters?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1ecefcd32c7e148295c28ea340ce29bb339bd133.diff
Type: text/x-diff
Size: 4076 bytes
Desc: not available
Url : 

More information about the Commits mailing list