fix(ios) fix mute "ping-pong"

This commit is contained in:
Saúl Ibarra Corretgé 2022-10-14 14:05:11 +02:00 committed by Saúl Ibarra Corretgé
parent eb1c3d8c56
commit 3e31e1816d
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ static CXProviderConfiguration *_providerConfiguration = nil;
// XXX keep track of muted actions to avoid "ping-pong"ing. See
// JMCallKitEmitter for details on the CXSetMutedCallAction handling.
for (CXAction *action in transaction.actions) {
if ([CXAction isKindOfClass:[CXSetMutedCallAction class]]) {
if ([action isKindOfClass:[CXSetMutedCallAction class]]) {
[self.emitter addMuteAction:action.UUID];
}
}