From 431e2c28f2b349a2dfc5c6697d40f3e3c9b612eb Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Mon, 27 Jan 2020 13:05:16 +0100 Subject: [PATCH] Restored old behjaviour --- server/src/client/ConnectedClient.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/src/client/ConnectedClient.cpp b/server/src/client/ConnectedClient.cpp index f5f6f7f..4300517 100644 --- a/server/src/client/ConnectedClient.cpp +++ b/server/src/client/ConnectedClient.cpp @@ -685,7 +685,6 @@ void ConnectedClient::sendChannelList(bool lock_channel_tree) { */ - /* std::deque> entry_channels{pop_view_entry(channels, this->currentChannel->channelId())}; while(entry_channels.front()) entry_channels.push_front(pop_view_entry(channels, entry_channels.front()->parentId())); entry_channels.pop_front(); @@ -694,10 +693,8 @@ void ConnectedClient::sendChannelList(bool lock_channel_tree) { send_channels(this, entry_channels.begin(), entry_channels.end(), true); this->notifyClientEnterView(_this.lock(), nullptr, "", this->currentChannel, ViewReasonId::VREASON_SYSTEM, nullptr, false); //Notify self after path is send - */ send_channels(this, channels.begin(), channels.end(), false); - this->notifyClientEnterView(_this.lock(), nullptr, "", this->currentChannel, ViewReasonId::VREASON_SYSTEM, nullptr, false); //Notify self after path is send - + //this->notifyClientEnterView(_this.lock(), nullptr, "", this->currentChannel, ViewReasonId::VREASON_SYSTEM, nullptr, false); //Notify self after path is send this->sendCommand(Command("channellistfinished")); }