Skip to content

Commit

Permalink
[Fabric-Sync] Fix subscription for non-ICD devices (project-chip#36799)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq authored and yyzhong-g committed Dec 11, 2024
1 parent 7efbd54 commit e313d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fabric-sync/admin/DeviceSynchronization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e313d01

Please sign in to comment.