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