Skip to content

Commit 41a9dea

Browse files
authored
[Fabric-Sync] Fix subscription for non-ICD devices (#36799)
1 parent b8628ca commit 41a9dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/fabric-sync/admin/DeviceSynchronization.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void DeviceSynchronizer::SynchronizationCompleteAddDevice()
274274
bridge::FabricBridge::Instance().AddSynchronizedDevice(mCurrentDeviceData);
275275

276276
// TODO(#35077) Figure out how we should reflect CADMIN values of ICD.
277-
if (!mCurrentDeviceData.isIcd)
277+
if (!mCurrentDeviceData.isIcd.value_or(false))
278278
{
279279
VerifyOrDie(mController);
280280
ScopedNodeId scopedNodeId(mNodeId, mController->GetFabricIndex());

0 commit comments

Comments
 (0)