diff --git a/server/src/client/command_handler/server.cpp b/server/src/client/command_handler/server.cpp index b069c45..226cf8e 100644 --- a/server/src/client/command_handler/server.cpp +++ b/server/src/client/command_handler/server.cpp @@ -474,6 +474,9 @@ command_result ConnectedClient::handleCommandServerGroupAddClient(Command &cmd) bool groups_changed; updated_client->update_displayed_client_groups(groups_changed, groups_changed); + /* join permissions have changed */ + updated_client->join_state_id++; + if(groups_changed) { updated_client->task_update_needed_permissions.enqueue(); updated_client->task_update_channel_client_properties.enqueue(); @@ -598,6 +601,9 @@ command_result ConnectedClient::handleCommandServerGroupDelClient(Command &cmd) bool groups_changed; updated_client->update_displayed_client_groups(groups_changed, groups_changed); + /* join permissions have changed */ + updated_client->join_state_id++; + if(groups_changed) { updated_client->task_update_needed_permissions.enqueue(); updated_client->task_update_channel_client_properties.enqueue();