gaim/gaim

84c84f737435
Parents e2648f1e62a7
Children 649cffd7a416
Fix a bug where Yahoo! away messages would sometimes appear with HTML
markup. It would happen when you become idle--Yahoo! apparently needs
to resend the away message to the server when it flags you as idle.
When it does so, it reads the away message from gc->away, but it does
not properly strip the HTML. And since this was an awesome catch, I'm
committing it to oldstatus.
--- a/src/protocols/yahoo/yahoo.c Mon Sep 19 20:28:03 2005 -0400
+++ b/src/protocols/yahoo/yahoo.c Tue Oct 11 00:35:48 2005 -0400
@@ -3210,7 +3210,7 @@
yahoo_packet_hash(pkt, 10, buf);
if (gc->away && yd->current_status == YAHOO_STATUS_CUSTOM) {
msg = yahoo_string_encode(gc, gc->away, NULL);
- msg2 = gaim_unescape_html(msg);
+ msg2 = gaim_markup_strip_html(msg);
yahoo_packet_hash(pkt, 19, msg2);
if (idle)
yahoo_packet_hash(pkt, 47, "2");