diff src/server.c @ 9933:cee849d17167

[gaim-migrate @ 10825] Another patch from Dave West. This makes the file transfer message show up when someone sends you an AIM file transfer. It also attempts to decode the message to UTF-8. The chat invitation messages also benefit from this attempted conversion. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 02 Sep 2004 03:46:53 +0000
parents fb08a0973b3e
children e4a27c9aec4c
line wrap: on
line diff
--- a/src/server.c	Thu Sep 02 02:49:00 2004 +0000
+++ b/src/server.c	Thu Sep 02 03:46:53 2004 +0000
@@ -1453,13 +1453,13 @@
 	gaim_signal_emit(gaim_conversations_get_handle(),
 					 "chat-invited", account, who, name, message, data);
 
-	if (message)
+	if (message != NULL)
 		g_snprintf(buf2, sizeof(buf2),
-				   _("User '%s' invites %s to buddy chat room: '%s'\n%s"),
+				   _("%s has invited %s to the chat room %s:\n<b>%s</b>"),
 				   who, gaim_account_get_username(account), name, message);
 	else
 		g_snprintf(buf2, sizeof(buf2),
-				   _("User '%s' invites %s to buddy chat room: '%s'\n"),
+				   _("%s has invited %s to the chat room %s\n"),
 				   who, gaim_account_get_username(account), name);
 
 	cid->gc = gc;