X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreircchannel.cpp;fp=src%2Fcore%2Fcoreircchannel.cpp;h=99d1881587b6af1e397a154e5833ee3e0c180bad;hp=a7e1b6c6c3a4a00d7fe3e770e4e15b304d2a5a40;hb=04315f46a16fc3627218377071e008b6b9744992;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/core/coreircchannel.cpp b/src/core/coreircchannel.cpp index a7e1b6c6..99d18815 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)); }