diff src/conversation.c @ 745:d693b83e4933

[gaim-migrate @ 755] apply aliases of self committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 23 Aug 2000 02:43:34 +0000
parents 58a6e6e26695
children cd62f69d187e
line wrap: on
line diff
--- a/src/conversation.c	Wed Aug 23 01:15:10 2000 +0000
+++ b/src/conversation.c	Wed Aug 23 02:43:34 2000 +0000
@@ -1094,9 +1094,13 @@
 	struct buddy *b;
 
 	if (!who) {
-		if (flags & WFLAG_SEND)
-			who = current_user->username;
-		else {
+		if (flags & WFLAG_SEND) {
+			b = find_buddy(current_user->username);
+			if (b)
+				who = b->show;
+			else
+				who = current_user->username;
+		} else {
 			b = find_buddy(c->name);
 			if (b)
 				who = b->show;