File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,10 @@ bool InteractionModelEngine::SubjectHasPersistedSubscription(FabricIndex aFabric
364
364
365
365
#if CHIP_CONFIG_PERSIST_SUBSCRIPTIONS
366
366
auto * iterator = mpSubscriptionResumptionStorage->IterateSubscriptions ();
367
- // Verify that we were able to allocate an iterator. If not, assume we have a persisted subscription.
367
+ // Verify that we were able to allocate an iterator. If not, we are probably currently trying to resubscribe to our persisted
368
+ // subscriptions. As such, we assume we have a persisted subscription and return true.
369
+ // If we don't have a persisted subscription for the given fabric index and subjectID, we will send a Check-In message next time
370
+ // we transition to ActiveMode.
368
371
VerifyOrReturnValue (iterator, true );
369
372
370
373
SubscriptionResumptionStorage::SubscriptionInfo subscriptionInfo;
You can’t perform that action at this time.
0 commit comments