diff src/server.c @ 1785:f4ae086c746b

[gaim-migrate @ 1795] ha! i'm stupid. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 30 Apr 2001 21:49:07 +0000
parents 9ca22174da76
children f15d449b3167
line wrap: on
line diff
--- a/src/server.c	Mon Apr 30 19:09:22 2001 +0000
+++ b/src/server.c	Mon Apr 30 21:49:07 2001 +0000
@@ -524,7 +524,7 @@
 			struct queued_message *qm;
 			qm = g_new0(struct queued_message, 1);
 			g_snprintf(qm->name, sizeof(qm->name), "%s", name);
-			qm->message = g_strdup(message);
+			qm->message = g_strdup(away_subs(tmpmsg, alias));
 			qm->gc = gc;
 			qm->tm = mtime;
 			qm->flags = WFLAG_SEND | WFLAG_AUTO;
@@ -781,7 +781,7 @@
 	gtk_widget_show(d);
 }
 
-void serv_got_joined_chat(struct gaim_connection *gc, int id, char *name)
+struct conversation *serv_got_joined_chat(struct gaim_connection *gc, int id, char *name)
 {
 	struct conversation *b;
 
@@ -821,6 +821,8 @@
 	}
 
 	show_new_buddy_chat(b);
+
+	return b;
 }
 
 void serv_got_chat_left(struct gaim_connection *g, int id)