diff libpurple/protocols/jabber/disco.c @ 25147:6d6e10476c52

Clean up jabber_presence_send * Split out a version that acts as part of the prpl_info struct from one called internally Fix jabber_caps_broadcast_change * "prpl-jabber" * Don't leak memory * Send a full presence stanza
author Paul Aurich <paul@darkrain42.org>
date Fri, 21 Nov 2008 04:18:19 +0000
parents 4040da08a733
children f462fa160f06
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Fri Nov 21 00:35:44 2008 +0000
+++ b/libpurple/protocols/jabber/disco.c	Fri Nov 21 04:18:19 2008 +0000
@@ -298,7 +298,7 @@
 	}
 
 	/* Send initial presence; this will trigger receipt of presence for contacts on the roster */
-	jabber_presence_send(js->gc->account, NULL);
+	jabber_presence_send(js, TRUE);
 
 	if (js->server_caps & JABBER_CAP_ADHOC) {
 		/* The server supports ad-hoc commands, so let's request the list */