comparison src/conversation.c @ 11481:c80edbd8961a

[gaim-migrate @ 13723] I don't see a reason to want to see nick changes for a user that is ignored. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 09 Sep 2005 19:06:29 +0000
parents 67abb500f600
children 16b0da1f376f
comparison
equal deleted inserted replaced
11480:e9251afae7b8 11481:c80edbd8961a
2089 if(!g_utf8_collate(old_user, chat->nick)) { 2089 if(!g_utf8_collate(old_user, chat->nick)) {
2090 gaim_conv_chat_set_nick(chat, new_user); 2090 gaim_conv_chat_set_nick(chat, new_user);
2091 its_me = TRUE; 2091 its_me = TRUE;
2092 } 2092 }
2093 2093
2094 if (gaim_prefs_get_bool("/core/conversations/chat/show_nick_change") || 2094 if (gaim_prefs_get_bool("/core/conversations/chat/show_nick_change") &&
2095 gaim_conv_chat_is_user_ignored(chat, new_user)) { 2095 !gaim_conv_chat_is_user_ignored(chat, new_user)) {
2096
2096 if(its_me) { 2097 if(its_me) {
2097 g_snprintf(tmp, sizeof(tmp), 2098 g_snprintf(tmp, sizeof(tmp),
2098 _("You are now known as %s"), new_user); 2099 _("You are now known as %s"), new_user);
2099 } else { 2100 } else {
2100 GaimConnection *gc = gaim_conversation_get_gc(conv); 2101 GaimConnection *gc = gaim_conversation_get_gc(conv);