revert with comment

This commit is contained in:
David Kocik 2025-01-12 20:29:51 +01:00 committed by Lukas Matena
parent c862ecf8e4
commit 034f1ba851

View File

@ -305,7 +305,9 @@ std::string UserAccountCommunication::get_shared_session_key()
void UserAccountCommunication::set_polling_enabled(bool enabled)
{
return m_session->set_polling_action(enabled ? UserAccountActionID::USER_ACCOUNT_ACTION_CONNECT_STATUS : UserAccountActionID::USER_ACCOUNT_ACTION_DUMMY);
// Here enabled sets to USER_ACCOUNT_ACTION_CONNECT_PRINTER_MODELS so it gets full list on first,
// than it should change inside session to USER_ACCOUNT_ACTION_CONNECT_STATUS
return m_session->set_polling_action(enabled ? UserAccountActionID::USER_ACCOUNT_ACTION_CONNECT_PRINTER_MODELS : UserAccountActionID::USER_ACCOUNT_ACTION_DUMMY);
}
void UserAccountCommunication::on_uuid_map_success()