diff src/conversation.c @ 11247:e5aa4398003e

[gaim-migrate @ 13416] Fix the bug where our screen name would not be shown when sending an IM to someone over protocols where you do not have a server-side alias, and you have not set a self-alias for yourself. This was caused by Sean's commit of a patch which brough conversastion.c to revision 1.644. Anyone know the reason for this change? The commit message was "Todd Troxell removed IM aliases from chat rooms. Unfortunate, but necessary" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 02:26:57 +0000
parents ebb02ea3c789
children bb0d7b719af2
line wrap: on
line diff
--- a/src/conversation.c	Sat Aug 13 00:49:50 2005 +0000
+++ b/src/conversation.c	Sat Aug 13 02:26:57 2005 +0000
@@ -1316,6 +1316,8 @@
 							who = gaim_buddy_get_contact_alias(b);
 						else if (gaim_connection_get_display_name(gc) != NULL)
 							who = gaim_connection_get_display_name(gc);
+						else
+							who = gaim_account_get_username(account);
 					}
 					else
 						who = gaim_account_get_username(account);