fix(ios) fix mute "ping-pong"
This commit is contained in:
parent
eb1c3d8c56
commit
3e31e1816d
|
@ -253,7 +253,7 @@ static CXProviderConfiguration *_providerConfiguration = nil;
|
||||||
// XXX keep track of muted actions to avoid "ping-pong"ing. See
|
// XXX keep track of muted actions to avoid "ping-pong"ing. See
|
||||||
// JMCallKitEmitter for details on the CXSetMutedCallAction handling.
|
// JMCallKitEmitter for details on the CXSetMutedCallAction handling.
|
||||||
for (CXAction *action in transaction.actions) {
|
for (CXAction *action in transaction.actions) {
|
||||||
if ([CXAction isKindOfClass:[CXSetMutedCallAction class]]) {
|
if ([action isKindOfClass:[CXSetMutedCallAction class]]) {
|
||||||
[self.emitter addMuteAction:action.UUID];
|
[self.emitter addMuteAction:action.UUID];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue