Do not clear problem state of sync on resync

This commit is contained in:
2026-05-29 17:26:24 +00:00
parent ecd6a42aee
commit 41507bb9d2
6 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ class SyncFailed : public Trigger<> {
public:
explicit SyncFailed(RATGDOComponent* parent)
{
parent->subscribe_sync_failed([this](bool state) {
if (state)
parent->subscribe_sync_failed([this](optional<bool> state) {
if (state.value_or(false))
this->trigger();
});
}