# HG changeset patch # User Richard Laager # Date 1150698200 0 # Node ID 9af607a0108f9467ee8a722510385380146e1772 # Parent f1dd1555b39cc92753d1a0694394706ff1ab77da [gaim-migrate @ 16285] Fix a case of a file transfer "system message" notification where we were not looking up an alias like everywhere else in this file. committer: Tailor Script diff -r f1dd1555b39c -r 9af607a0108f src/ft.c --- a/src/ft.c Mon Jun 19 06:22:26 2006 +0000 +++ b/src/ft.c Mon Jun 19 06:23:20 2006 +0000 @@ -388,8 +388,9 @@ gaim_xfer_get_status(xfer) == GAIM_XFER_STATUS_ACCEPTED) { gchar* message = NULL; + GaimBuddy *buddy = gaim_find_buddy(xfer->account, xfer->who); message = g_strdup_printf(_("%s is offering to send file %s"), - xfer->who, gaim_xfer_get_filename(xfer)); + buddy ? gaim_buddy_get_alias(buddy) : xfer->who, gaim_xfer_get_filename(xfer)); gaim_xfer_conversation_write(xfer, message, FALSE); g_free(message); /* Ask for a filename to save to if it's not already given by a plugin */