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")); }