Store the channel keys in CoreNetwork again
authorBas Pape <baspape@gmail.com>
Thu, 24 Sep 2015 19:15:49 +0000 (21:15 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 2 Jan 2016 16:35:52 +0000 (17:35 +0100)
commit0a51798b95cb4dd024a9ffd7cc88f6326346825c
treecc54f7792eb2bf3a635980cd2bdf356fba6f29f0
parente9e53709ee75a413a6726a8e77db34b9e6ee372f
Store the channel keys in CoreNetwork again

The refactoring from 3146ad0 (and e0781ee) was not a true refactoring as
it changed behaviour: CoreIrcChannels (as opposed to CoreNetworks) are
ephemeral, which meant disconnecting or parting lost the channel key.
Keys are still kept by the channel's cipher, but synced from/to its network when
the constructor/destructor is called.

Fixes #1248
src/core/coreircchannel.cpp
src/core/corenetwork.h