# HG changeset patch # User Paul Aurich # Date 1265233239 0 # Node ID 57550ffb7870a22f426c6f7180ea8b4448ad56ea # Parent 68cd5a8a3ffe4ec2f75ac657c58f013de99c17be jabber: Log a warning (with the shortcut) when refusing to send a smiley. diff -r 68cd5a8a3ffe -r 57550ffb7870 ChangeLog --- a/ChangeLog Wed Feb 03 21:37:42 2010 +0000 +++ b/ChangeLog Wed Feb 03 21:40:39 2010 +0000 @@ -38,8 +38,8 @@ * Don't do an SRV lookup for a STUN server associated with the account if one is already set globally in prefs. * Don't send custom smileys larger than the recommended maximum object size - specified in the BoB XEP. Will prevent getting disconnected because of - sending to large stanzas. + specified in the BoB XEP. This prevents a client from being + disconnected by servers that dislike overly-large stanzas. Yahoo: * Don't send and tags. (Fartash Faghri) diff -r 68cd5a8a3ffe -r 57550ffb7870 libpurple/protocols/jabber/message.c --- 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); } }