# HG changeset patch # User Richard Laager # Date 1125807615 0 # Node ID 1c20849fc71698bdb34b832f58a5717262f39954 # Parent f2ccf809ad91a2c267f6a407a9fed1ead6e5200c [gaim-migrate @ 13674] GAIM_BUDDY_SIGNING_OFF needs to be taken into account again for Last Seen, as well. committer: Tailor Script diff -r f2ccf809ad91 -r 1c20849fc716 src/gtkblist.c --- a/src/gtkblist.c Sun Sep 04 02:06:47 2005 +0000 +++ b/src/gtkblist.c Sun Sep 04 04:20:15 2005 +0000 @@ -2857,7 +2857,8 @@ } /* Last Seen */ - if (!GAIM_BUDDY_IS_ONLINE(b) || b->present == GAIM_BUDDY_SIGNING_ON) + if ((!GAIM_BUDDY_IS_ONLINE(b) && b->present != GAIM_BUDDY_SIGNING_OFF) || + b->present == GAIM_BUDDY_SIGNING_ON) { struct _gaim_gtk_blist_node *gtknode = ((GaimBlistNode *)c)->ui_data; GaimBlistNode *bnode; @@ -2865,8 +2866,8 @@ if (!gtknode->contact_expanded || GAIM_BLIST_NODE_IS_CONTACT(node)) { - /* We're either looking at buddy for a collapsed contact or - * a contact (which is expanded) so we show the most recent + /* We're either looking at a buddy for a collapsed contact or + * an exanded contact itself so we show the most recent * (largest) last_seen time for any of the buddies under * the contact. */ for (bnode = ((GaimBlistNode *)c)->child ; bnode != NULL ; bnode = bnode->next)