diff src/prpl.c @ 10012:a38881ec9c0f

[gaim-migrate @ 10929] i'm fairly certain this is all better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 11 Sep 2004 05:41:50 +0000
parents 267a2b69e36e
children 34bce9529cf4
line wrap: on
line diff
--- a/src/prpl.c	Sat Sep 11 03:37:16 2004 +0000
+++ b/src/prpl.c	Sat Sep 11 05:41:50 2004 +0000
@@ -270,6 +270,7 @@
 	GaimBuddy *buddy;
 	GaimPresence *presence;
 	GaimStatus *status;
+	gboolean was_online = FALSE;
 
 	g_return_if_fail(account   != NULL);
 	g_return_if_fail(name      != NULL);
@@ -301,6 +302,9 @@
 	}
 
 	gaim_presence_set_status_active(presence, status_id, TRUE);
+
+	gaim_blist_update_buddy_presence(buddy, GAIM_BUDDY_IS_ONLINE(buddy));
+	gaim_contact_compute_priority_buddy(gaim_buddy_get_contact(buddy));
 }
 
 void