# HG changeset patch # User Evan Schoenberg # Date 1171566498 0 # Node ID e023cc99eb391695fbec8f38214cccf694d01f15 # Parent baec426702461c45c2a26786169c657ebb212c35 Suppress name changed messages when it would print 'X is now known as X' ('evands@pidgin.im is now known as evands@pidgin.im') diff -r baec42670246 -r e023cc99eb39 libpurple/server.c --- a/libpurple/server.c Thu Feb 15 15:21:27 2007 +0000 +++ b/libpurple/server.c Thu Feb 15 19:08:18 2007 +0000 @@ -223,7 +223,7 @@ conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, b->name, account); - if (conv != NULL && alias != NULL) + if (conv != NULL && alias != NULL && strcmp(alias, who)) { char *tmp = g_strdup_printf(_("%s is now known as %s.\n"), who, alias);