missed one

This commit is contained in:
J. Nick Koston 2025-07-16 08:18:51 -10:00
parent 6aeefdc085
commit 8ba14d1f54
No known key found for this signature in database

View File

@ -428,7 +428,8 @@ bool APIServer::save_noise_psk(psk_t psk, bool make_active) {
ESP_LOGW(TAG, "Disconnecting all clients to reset PSK");
this->set_noise_psk(psk);
for (auto &c : this->clients_) {
c->send_message(DisconnectRequest());
DisconnectRequest req;
c->send_message(req, DisconnectRequest::MESSAGE_TYPE);
}
});
}