From 44120db7924691fe2786539606220d078881ca16 Mon Sep 17 00:00:00 2001 From: Marat Al Date: Sun, 22 Sep 2024 16:26:06 +0200 Subject: [PATCH] Added temporary `ARTRealtimePresenceQuery` sendable conformance (until https://github.com/ably/ably-cocoa/pull/1973 is merged). --- Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift b/Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift index 81eeee92..1e36a396 100644 --- a/Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift +++ b/Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift @@ -9,10 +9,14 @@ import Ably extension ARTRealtimeChannels: RealtimeChannelsProtocol, @retroactive @unchecked Sendable {} extension ARTRealtimeChannel: RealtimeChannelProtocol, @retroactive @unchecked Sendable {} + + extension ARTRealtimePresenceQuery: @retroactive @unchecked Sendable {} #else extension ARTRealtime: RealtimeClientProtocol, @unchecked Sendable {} extension ARTRealtimeChannels: RealtimeChannelsProtocol, @unchecked Sendable {} extension ARTRealtimeChannel: RealtimeChannelProtocol, @unchecked Sendable {} + + extension ARTRealtimePresenceQuery: @unchecked Sendable {} #endif