From 78ea7958f34e928d0f62ca1e7b3f833377d20d53 Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Thu, 3 Nov 2022 10:24:27 -0700 Subject: [PATCH] [Darwin] MTRDevice subscription should be non-fabric-filtered --- src/darwin/Framework/CHIP/MTRDevice.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index 51ec813ab53d1d..18ee50eca11dda 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -329,6 +329,7 @@ - (void)setupSubscription readParams.mpEventPathParamsList = eventPath.get(); readParams.mEventPathParamsListSize = 1; readParams.mKeepSubscriptions = true; + readParams.mIsFabricFiltered = false; attributePath.release(); eventPath.release(); @@ -459,9 +460,6 @@ - (void)writeAttributeWithEndpointID:(NSNumber *)endpointID timedWriteTimeout:timeout clientQueue:self.queue completion:^(NSArray *> * _Nullable values, NSError * _Nullable error) { - if (values) { - [self _handleAttributeReport:values]; - } [workItem endWork]; }]; };