changeset 474:7720d0f9da8e

[gaim-migrate @ 484] i'm a moron committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Jul 2000 23:48:20 +0000
parents f9bb7761c52b
children f5772f2d83ee
files src/conversation.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Jul 09 23:37:53 2000 +0000
+++ b/src/conversation.c	Sun Jul 09 23:48:20 2000 +0000
@@ -882,7 +882,12 @@
 	int i;
 	char *smiley = g_malloc(7);
 
-	if (!who) who = c->name;
+	if (!who) {
+		if (flags & WFLAG_SEND)
+			who = current_user->username;
+		else
+			who = c->name;
+	}
 	
         if (flags & WFLAG_SYSTEM) {