# HG changeset patch # User Sean Egan # Date 1187384314 0 # Node ID 4e55f09f633c82be6c788f8a6d3a2681fb138358 # Parent 08be7c67bd18955de6b5d4f8ab468038e548a732 Only send conversation close notices on XMPP when the typing notification preference is turned on diff -r 08be7c67bd18 -r 4e55f09f633c COPYRIGHT --- a/COPYRIGHT Fri Aug 17 19:36:58 2007 +0000 +++ b/COPYRIGHT Fri Aug 17 20:58:34 2007 +0000 @@ -301,6 +301,7 @@ Luciano Miguel Ferreira Rocha Andrew Rodland Miguel Rodríguez (migrax) +Bob Rossi Jason Roth Jean-Francois Roy Sam S. diff -r 08be7c67bd18 -r 4e55f09f633c ChangeLog --- a/ChangeLog Fri Aug 17 19:36:58 2007 +0000 +++ b/ChangeLog Fri Aug 17 20:58:34 2007 +0000 @@ -12,6 +12,10 @@ * Bonjour plugin uses native Avahi instead of Howl * Bonjour plugin supports Buddy Icons + XMPP: + * Only report conversation close when 'send typing notifications' + preference is turned on (Bob Rossi) + Pidgin: * Show current outgoing conversation formatting on the font label on the toolbar diff -r 08be7c67bd18 -r 4e55f09f633c libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Fri Aug 17 19:36:58 2007 +0000 +++ b/libpurple/protocols/jabber/message.c Fri Aug 17 20:58:34 2007 +0000 @@ -675,7 +675,11 @@ void jabber_message_conv_closed(JabberStream *js, const char *who) { - JabberMessage *jm = g_new0(JabberMessage, 1); + JabberMessage *jm; + if (!purple_prefs_get_bool("/purple/conversations/im/send_typing")) + return; + + jm = g_new0(JabberMessage, 1); jm->js = js; jm->type = JABBER_MESSAGE_CHAT; jm->to = g_strdup(who);