changeset 15165:fbc6a21678fd

[gaim-migrate @ 17951] gg: Don't duplicate "Status: Offline" message. This got broken by recent changes to Notify User Info. committer: Tailor Script <tailor@pidgin.im>
author Bartoz Oler <bartosz@pidgin.im>
date Sun, 10 Dec 2006 23:33:03 +0000
parents 2c0e3ef91e37
children 1bcf37440a05
files libgaim/protocols/gg/gg.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/gg/gg.c	Sun Dec 10 23:32:28 2006 +0000
+++ b/libgaim/protocols/gg/gg.c	Sun Dec 10 23:33:03 2006 +0000
@@ -1572,7 +1572,8 @@
 			gaim_notify_user_info_add_pair(user_info, _("Message"), text);
 		}
 		g_free(text);
-	} else {
+	/* We don't want to duplicate 'Status: Offline'. */
+	} else if (GAIM_BUDDY_IS_ONLINE(b)) {
 		gaim_notify_user_info_add_pair(user_info, _("Status"), name);
 	}
 }