changeset 15635:e023cc99eb39

Suppress name changed messages when it would print 'X is now known as X' ('evands@pidgin.im is now known as evands@pidgin.im')
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 15 Feb 2007 19:08:18 +0000
parents baec42670246
children 58ec6ce6908d
files libpurple/server.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);