Skip to content

Commit

Permalink
fix(ios) fix UUID comparison
Browse files Browse the repository at this point in the history
Fixes: #12716
  • Loading branch information
saghul committed Jun 29, 2023
1 parent 99016ba commit a8e2fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/src/callkit/JMCallKitProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ + (void)removeListener:(nonnull id<JMCallKitListener>)listener {

+ (BOOL)hasActiveCallForUUID:(nonnull NSString *)callUUID {
CXCall *activeCallForUUID = [[self.callController calls] filteredArrayUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(CXCall *evaluatedObject, NSDictionary<NSString *,id> *bindings) {
return evaluatedObject.UUID.UUIDString == callUUID;
return [evaluatedObject.UUID.UUIDString isEqualToString:callUUID];
}]].firstObject;

if (!activeCallForUUID) {
Expand Down

0 comments on commit a8e2fcd

Please sign in to comment.