[gaim-migrate @ 1107]

Tue, 14 Nov 2000 19:32:45 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Tue, 14 Nov 2000 19:32:45 +0000
changeset 1097
dbf74a68b3c0
parent 1096
7020a4fc34a3
child 1098
ba62d11c12ca

[gaim-migrate @ 1107]
i haven't tested this yet but i know it works.

src/buddy.c file | annotate | diff | comparison | revisions
--- a/src/buddy.c	Tue Nov 14 11:34:30 2000 +0000
+++ b/src/buddy.c	Tue Nov 14 19:32:45 2000 +0000
@@ -1782,7 +1782,7 @@
 					write_to_conv(c, tmp, WFLAG_SYSTEM, NULL);
 				}
 			}
-		} else {
+		} else if (bs->log_timer <= 0) {
 			if (gc->prpl->list_icon)
 				xpm = (*gc->prpl->list_icon)(b->uc);
 			if (xpm == NULL)
@@ -1802,6 +1802,9 @@
 		if (!gs) return;
 		bs = find_buddy_show(gs, b->name);
 		if (!bs) return;
+		if (!bs->connlist) return; /* we won't do signoff updates for
+					      buddies that have already signed
+					      off */
 		play_sound(BUDDY_LEAVE);
 		bs->connlist = g_slist_remove(bs->connlist, gc);
 		update_num_group(gs);

mercurial