Skip to content

Commit 0860870

Browse files
fix compilation
1 parent 8dce4be commit 0860870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/InteractionModelEngine.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1079,8 +1079,8 @@ void InteractionModelEngine::OnActiveModeNotification(ScopedNodeId aPeer, uint64
10791079
// If caseTag for current subscription does not match with the one set in ICDManagementCluster::RegisterClient for check-in,
10801080
// when receiving check-in message, OnActiveModeNotification would do nothing for current subscription.
10811081
if (ScopedNodeId(pListItem->GetPeerNodeId(), pListItem->GetFabricIndex()) == aPeer &&
1082-
pListItem->GetSubjectDescriptor().HasValue() && pListItem->GetSubjectDescriptor().cats.CheckSubjectAgainstCATs(aMonitoredSubject) &&
1083-
pListItem->GetSubjectDescriptor().subject == aMonitoredSubject)
1082+
pListItem->GetSubjectDescriptor().HasValue() && pListItem->GetSubjectDescriptor().Value().cats.CheckSubjectAgainstCATs(aMonitoredSubject) &&
1083+
pListItem->GetSubjectDescriptor().Value().subject == aMonitoredSubject)
10841084
{
10851085
pListItem->OnActiveModeNotification();
10861086
}

0 commit comments

Comments
 (0)