--- a/libpurple/protocols/jabber/jabber.c Wed Feb 03 04:45:38 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.c Wed Feb 03 04:54:23 2010 +0000 @@ -427,13 +427,12 @@ g_free(text); } - /* If we've got a security layer, we need to encode the data, - * splitting it on the maximum buffer length negotiated */ - purple_signal_emit(purple_connection_get_prpl(js->gc), "jabber-sending-text", js->gc, &data); if (data == NULL) return; + /* If we've got a security layer, we need to encode the data, + * splitting it on the maximum buffer length negotiated */ #ifdef HAVE_CYRUS_SASL if (js->sasl_maxbuf>0) { int pos = 0;