diff libpurple/conversation.c @ 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 7ade887fd3f6
children 4b18cc7b6177 70fb7663a918 2a6fb7c6d030 295777a9e2a4
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;
 	}