From 7a6ba50d4824c4e33ebf1154e97038c9331f4f58 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 30 Jun 2010 00:44:17 +0100 Subject: Also allow selecting contacts for a channel by protocol instead of account. If someone has two MSN accts and wants contacts from both in one channel, this is now possible. --- storage_xml.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'storage_xml.c') diff --git a/storage_xml.c b/storage_xml.c index f97b2cd5..a60769bb 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -218,6 +218,10 @@ static void xml_start_element( GMarkupParseContext *ctx, const gchar *element_na return; } + /* The channel may exist already, for example if it's &bitlbee. + Also, it's possible that the user just reconnected and the + IRC client already rejoined all channels it was in. They + should still get the right settings. */ if( ( xd->current_channel = irc_channel_by_name( irc, name ) ) || ( xd->current_channel = irc_channel_new( irc, name ) ) ) set_setstr( &xd->current_channel->set, "type", type ); -- cgit v1.2.3