changeset 4229:c1857c9c912d

[gaim-migrate @ 4474] Is it ironic that I use Time Warner cable to help develope an AIM client? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 07 Jan 2003 20:57:48 +0000
parents 1b37bf971b38
children 9f729d6d88a6
files src/protocols/gg/gg.c src/protocols/jabber/jabber.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/gg/gg.c	Tue Jan 07 18:51:15 2003 +0000
+++ b/src/protocols/gg/gg.c	Tue Jan 07 20:57:48 2003 +0000
@@ -1,6 +1,6 @@
 /*
  * gaim - Gadu-Gadu Protocol Plugin
- * $Id: gg.c 4471 2003-01-07 17:44:34Z thekingant $
+ * $Id: gg.c 4474 2003-01-07 20:57:48Z thekingant $
  *
  * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
  * 
@@ -1023,7 +1023,7 @@
 			/* GG Number */
 			gchar *name = gg_urlencode(b->name);
 			/* GG Pseudo */
-			gchar *show = gg_urlencode(get_buddy_alias(b));
+			gchar *show = gg_urlencode(b->alias[0] ? b->alias : b->name);
 			/* Group Name */
 			gchar *gname = gg_urlencode(g->name);
 
--- a/src/protocols/jabber/jabber.c	Tue Jan 07 18:51:15 2003 +0000
+++ b/src/protocols/jabber/jabber.c	Tue Jan 07 20:57:48 2003 +0000
@@ -2523,7 +2523,7 @@
 		 */
 		if(alias && alias[0] != '\0') {
 			my_alias = alias;
-		} else if((buddy = find_buddy(gc, realwho)) != NULL) {
+		} else if((buddy = find_buddy(gc, realwho)) != NULL && buddy->alias[0]) {
 			my_alias = buddy->alias;
 		}