diff options
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp index da480c3..6840f43 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -698,8 +698,7 @@ void Server::Peer::updateChannel(ReplyBuilder & reply) if (!holds_alternative<Identity>(identity)) return; - if (holds_alternative<monostate>(connection.channel()) || - holds_alternative<NetworkProtocol::Cookie>(connection.channel())) { + if (holds_alternative<monostate>(connection.channel())) { auto req = Channel::generateRequest(tempStorage, server.self, std::get<Identity>(identity)); connection.channel().emplace<Stored<ChannelRequest>>(req); |