From: Manuel Nickschas Date: Mon, 18 Feb 2008 00:41:33 +0000 (+0000) Subject: Make session restore join more than one channel per network (again). X-Git-Tag: 0.2.0-alpha1~53 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a472efdb1d3125358f6c7f5a30c332e6fa395499 Make session restore join more than one channel per network (again). --- diff --git a/src/core/networkconnection.cpp b/src/core/networkconnection.cpp index 6ac715c8..3799e03d 100644 --- a/src/core/networkconnection.cpp +++ b/src/core/networkconnection.cpp @@ -174,7 +174,7 @@ void NetworkConnection::networkInitialized(const QString ¤tServer) { if(chans.count() > 0) { qDebug() << "autojoining" << chans; QVariantList list; - foreach(QString chan, chans) list << serverEncode(chan); + list << serverEncode(chans.join(",")); // TODO add channel passwords putCmd("JOIN", list); // FIXME check for 512 byte limit! } // delete _previousState, we won't need it again