Fixed some bugs
This commit is contained in:
@@ -425,7 +425,7 @@ void TSServer::client_move(
|
||||
auto chan_source = client->channels->find_channel(s_source_channel);
|
||||
if(chan_source) {
|
||||
if (chan_target->subscribed || client == target) {
|
||||
if (client->isClientVisible(target, false) || client == target) {
|
||||
if (client == target || client->isClientVisible(target, false)) {
|
||||
client->notifyClientMoved(target, s_target_channel, reason_id, reason_message, invoker, false);
|
||||
} else {
|
||||
client->notifyClientEnterView(target, invoker, reason_message, s_target_channel, reason_id, s_source_channel, false);
|
||||
|
||||
Reference in New Issue
Block a user