diff libpurple/server.c @ 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 74b945e7609c
children 8e24d43f529a
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);