File tree 1 file changed +3
-3
lines changed
src/darwin/Framework/CHIP
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -685,7 +685,8 @@ - (void)_setDSTOffsets:(NSArray<MTRTimeSynchronizationClusterDSTOffsetStruct *>
685
685
#define MTR_DEVICE_SUBSCRIPTION_MAX_INTERVAL_MIN (10 * 60 ) // 10 minutes (for now)
686
686
#define MTR_DEVICE_SUBSCRIPTION_MAX_INTERVAL_MAX (60 * 60 ) // 60 minutes
687
687
688
- -(BOOL )_subscriptionsAllowed {
688
+ - (BOOL )_subscriptionsAllowed
689
+ {
689
690
return ![_deviceController isKindOfClass: MTRDeviceControllerOverXPC.class ];
690
691
}
691
692
@@ -1693,8 +1694,7 @@ - (void)_setupSubscription
1693
1694
{
1694
1695
os_unfair_lock_assert_owner (&self->_lock );
1695
1696
1696
- if (![self _subscriptionsAllowed ])
1697
- {
1697
+ if (![self _subscriptionsAllowed ]) {
1698
1698
MTR_LOG (" _setupSubscription: Subscriptions not allowed. Do not set up subscription" );
1699
1699
return ;
1700
1700
}
You can’t perform that action at this time.
0 commit comments