Mercurial > pidgin
view HACKING @ 17586:ba1478c35cc0
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?
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 10 Jun 2007 20:36:24 +0000 |
parents | d73ee2690376 |
children |
line wrap: on
line source
For information on hacking on Pidgin, Finch, or libpurple, see: http://developer.pidgin.im