/pidgin/main: 655ca0b4d79e: For clickable images (::op=cmd), the...
Andrew Victor
andrew.victor at mxit.com
Wed Nov 7 03:53:35 EST 2012
Changeset: 655ca0b4d79ecff9c27315b0a0d614d7fea85ee5
Author: Andrew Victor <andrew.victor at mxit.com>
Date: 2012-11-07 10:52 +0200
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/655ca0b4d79e
Description:
For clickable images (::op=cmd), the "replymsg" field is URI-encoded.
We therefore need to decode it.
diffstat:
libpurple/protocols/mxit/formcmds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols/mxit/formcmds.c b/libpurple/protocols/mxit/formcmds.c
--- a/libpurple/protocols/mxit/formcmds.c
+++ b/libpurple/protocols/mxit/formcmds.c
@@ -373,7 +373,7 @@ static void command_image(struct RXMsgDa
reply = g_hash_table_lookup(hash, "replymsg");
if (reply) {
g_string_append_printf(msg, "\n");
- mxit_add_html_link(mx, reply, FALSE, _( "click here" ));
+ mxit_add_html_link(mx, purple_url_decode(reply), FALSE, _( "click here" ));
}
}
More information about the Commits
mailing list