From a2cbb1aa1a18d2f904f534c0ff4dc2debc358102 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Wed, 11 Dec 2024 11:50:38 +0100 Subject: [PATCH] [Fabric-Sync] Fix subscription for non-ICD devices --- examples/fabric-sync/admin/DeviceSynchronization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fabric-sync/admin/DeviceSynchronization.cpp b/examples/fabric-sync/admin/DeviceSynchronization.cpp index 527ccfa631295a..fea80780d5bb24 100644 --- a/examples/fabric-sync/admin/DeviceSynchronization.cpp +++ b/examples/fabric-sync/admin/DeviceSynchronization.cpp @@ -274,7 +274,7 @@ void DeviceSynchronizer::SynchronizationCompleteAddDevice() bridge::FabricBridge::Instance().AddSynchronizedDevice(mCurrentDeviceData); // TODO(#35077) Figure out how we should reflect CADMIN values of ICD. - if (!mCurrentDeviceData.isIcd) + if (!mCurrentDeviceData.isIcd.value_or(false)) { VerifyOrDie(mController); ScopedNodeId scopedNodeId(mNodeId, mController->GetFabricIndex());