changeset 17571:6b11b1398c2b

Don't automatically add channels to the buddy list when you join them. I might revert this if I don't get around to making Conversation->More work for Chats not on the buddy list.
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Jun 2007 18:01:47 +0000
parents b142c090eaf7
children d74d716f814d
files libpurple/protocols/silc/chat.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/chat.c	Sat Jun 09 17:58:26 2007 +0000
+++ b/libpurple/protocols/silc/chat.c	Sat Jun 09 18:01:47 2007 +0000
@@ -1069,6 +1069,7 @@
 		return;
 	}
 
+#if 0
 	/* If the channel is not on buddy list, automatically add it there. */
 	chat = purple_blist_find_chat(sg->account, channel);
 	if (!chat) {
@@ -1082,6 +1083,7 @@
 		chat = purple_chat_new(sg->account, NULL, data);
 		purple_blist_add_chat(chat, NULL, NULL);
 	}
+#endif
 
 	/* XXX We should have other properties here as well:
 	   1. whether to try to authenticate to the channel