diff libpurple/protocols/jabber/jabber.c @ 26736:a0e48796defb

Fix merging. I blame meld and the fact I didn't `mtn copy buddy.c useravatar.c`.
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Apr 2009 18:57:47 +0000
parents 3912f55a1633
children 8b7d1aed6d59
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Tue Apr 28 18:43:57 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Tue Apr 28 18:57:47 2009 +0000
@@ -1637,14 +1637,12 @@
 void jabber_idle_set(PurpleConnection *gc, int idle)
 {
 	JabberStream *js = gc->proto_data;
-	PurpleAccount *account = purple_connection_get_account(gc);
-	PurpleStatus *status = purple_account_get_active_status(account);
 
 	js->idle = idle ? time(NULL) - idle : idle;
 
 	/* send out an updated prescence */
 	purple_debug_info("jabber", "sending updated presence for idle\n");
-	jabber_presence_send(account, status);
+	jabber_presence_send(js, FALSE);
 }
 
 static void jabber_blocklist_parse(JabberStream *js, const char *from,