X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreircchannel.cpp;h=98995bffed968834d8a9e8fb9e002a01e3c14927;hp=f0e65ff6ae56d44934f573b1743b029d0c3df85f;hb=3146ad0;hpb=0e1b154f362e13c2c9009f842e3fd6d8e7c346fc diff --git a/src/core/coreircchannel.cpp b/src/core/coreircchannel.cpp index f0e65ff6..98995bff 100644 --- a/src/core/coreircchannel.cpp +++ b/src/core/coreircchannel.cpp @@ -59,13 +59,6 @@ void CoreIrcChannel::setEncrypted(bool e) if (topic().isEmpty()) return; - QByteArray key = qobject_cast(network())->cipherKey(name()); - if (key.isEmpty()) - return; - - if (!cipher()->setKey(key)) - return; - QByteArray decrypted = cipher()->decryptTopic(topic().toAscii()); setTopic(decodeString(decrypted)); }