Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/message.c @ 29345:57550ffb7870
jabber: Log a warning (with the shortcut) when refusing to send a smiley.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 03 Feb 2010 21:40:39 +0000 |
parents | bf0db10b0e3c |
children | 4c4ddafbc089 7cf5e442bbc8 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c Wed Feb 03 21:37:42 2010 +0000 +++ b/libpurple/protocols/jabber/message.c Wed Feb 03 21:40:39 2010 +0000 @@ -1013,6 +1013,10 @@ valid_smileys = g_list_append(valid_smileys, smiley); } else { has_too_large_smiley = TRUE; + purple_debug_warning("jabber", "Refusing to send smiley %s " + "(too large, max is %d)\n", + purple_smiley_get_shortcut(smiley), + JABBER_DATA_MAX_SIZE); } }