Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo.c @ 16996:c258cc89d19f
Yahoo! system messages do not need escaping. The notify API takes care of
that.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 10 May 2007 01:34:03 +0000 |
parents | 589cc5757148 |
children | 8e7a4295ff85 |
comparison
equal
deleted
inserted
replaced
16995:8d94cf688009 | 16996:c258cc89d19f |
---|---|
919 l = l->next; | 919 l = l->next; |
920 } | 920 } |
921 | 921 |
922 if (!msg || !g_utf8_validate(msg, -1, NULL)) | 922 if (!msg || !g_utf8_validate(msg, -1, NULL)) |
923 return; | 923 return; |
924 | |
925 /* TODO: Does this really need to be escaped? It seems like it doesn't. */ | |
926 escmsg = g_markup_escape_text(msg, -1); | |
927 | 924 |
928 prim = g_strdup_printf(_("Yahoo! system message for %s:"), | 925 prim = g_strdup_printf(_("Yahoo! system message for %s:"), |
929 me?me:purple_connection_get_display_name(gc)); | 926 me?me:purple_connection_get_display_name(gc)); |
930 purple_notify_info(NULL, NULL, prim, escmsg); | 927 purple_notify_info(NULL, NULL, prim, escmsg); |
931 g_free(prim); | 928 g_free(prim); |