changeset 7954:6dc91824d8d4

[gaim-migrate @ 8629] Patch from Gary Kramlich (xgrimx) to remove some old IRC chat stuff committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 29 Dec 2003 07:19:55 +0000
parents 959ae45dd0c5
children 119a22025818
files src/gtkconv.c
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Mon Dec 29 07:12:23 2003 +0000
+++ b/src/gtkconv.c	Mon Dec 29 07:19:55 2003 +0000
@@ -993,10 +993,6 @@
 	else
 		return;
 
-	if (*name == '@') name++;
-	if (*name == '%') name++;
-	if (*name == '+') name++;
-
 	account = gaim_conversation_get_account(conv);
 
 	conv2 = gaim_find_conversation_with_account(name, account);
@@ -1186,10 +1182,6 @@
 	gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &iter, path);
 	gtk_tree_model_get(GTK_TREE_MODEL(model), &iter, 1, &who, -1);
 
-	if (*who == '@') who++;
-	if (*who == '%') who++;
-	if (*who == '+') who++;
-
 	if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) {
 		chat_do_im(conv, who);
 	} else if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
@@ -2845,13 +2837,7 @@
 		char *nick = nicks->data;
 		/* this checks to see if the current nick could be a completion */
 		if (g_ascii_strncasecmp(nick, entered, strlen(entered))) {
-			if (*nick != '+' && *nick != '@' && *nick != '%')
-				continue;
-
 			if (g_ascii_strncasecmp(nick + 1, entered, strlen(entered))) {
-				if (nick[0] != '@' || nick[1] != '+')
-					continue;
-
 				if (g_ascii_strncasecmp(nick + 2, entered, strlen(entered)))
 					continue;
 				else
@@ -2874,10 +2860,6 @@
 						 : gaim_conv_chat_get_users(chat));
 
 				nick = nicks->data;
-
-				if (*nick == '@') nick++;
-				if (*nick == '%') nick++;
-				if (*nick == '+') nick++;
 			}
 
 			gtk_text_buffer_get_start_iter(gtkconv->entry_buffer,