diff src/conversation.c @ 3205:332df87cf3d6

[gaim-migrate @ 3222] Self-aliasing from the account editor. You can edit how your screenname shows up in sent messages without having yourself on your list. This is strictly client-side only--has no affect on what your buddies see. I'm thinking it might not be a bad idea to add the alias somewhere in the various select-account menus and lists. This could potentially fix the can't-tell-what-IRC-account-I'm-joining-channels-in problem, but I'm not sure the best way to do it right now--I'll do it tommorow. IM me if you have good ideas. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 04 May 2002 08:21:31 +0000
parents 255155a1b190
children 265a3c9d0557
line wrap: on
line diff
--- a/src/conversation.c	Sat May 04 04:20:42 2002 +0000
+++ b/src/conversation.c	Sat May 04 08:21:31 2002 +0000
@@ -1764,6 +1764,8 @@
 				b = find_buddy(c->gc, c->gc->username);
 				if (b && strcmp(b->name, b->show))
 					 who = b->show;
+				else if (c->gc->user->alias[0])
+					who = c->gc->user->alias;
 				else if (c->gc->displayname[0])
 					who = c->gc->displayname;
 				else