changeset 17657:6418bcb7809a

purple_conv_chat_cb_find should be case sensitive in finding users to make sure nick changes that only affect case are handled correctly. Fixes #349.
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 02 Jun 2007 14:06:33 +0000
parents 4d53ccae32b0
children 61789dec7c47
files libpurple/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/conversation.c	Sat Jun 02 13:05:31 2007 +0000
+++ b/libpurple/conversation.c	Sat Jun 02 14:06:33 2007 +0000
@@ -1960,7 +1960,7 @@
 
 	for (l = purple_conv_chat_get_users(chat); l; l = l->next) {
 		cb = l->data;
-		if (!purple_utf8_strcasecmp(cb->name, name))
+		if (!g_utf8_collate(cb->name, name))
 			return cb;
 	}