Restored old behjaviour
This commit is contained in:
parent
8acd2396d3
commit
431e2c28f2
@ -685,7 +685,6 @@ void ConnectedClient::sendChannelList(bool lock_channel_tree) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
std::deque<std::shared_ptr<ViewEntry>> entry_channels{pop_view_entry(channels, this->currentChannel->channelId())};
|
std::deque<std::shared_ptr<ViewEntry>> 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()));
|
while(entry_channels.front()) entry_channels.push_front(pop_view_entry(channels, entry_channels.front()->parentId()));
|
||||||
entry_channels.pop_front();
|
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);
|
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
|
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);
|
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"));
|
this->sendCommand(Command("channellistfinished"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user