From 8d0279f16e4df6ae79b95f7cb1b45eeeed70dd53 Mon Sep 17 00:00:00 2001 From: Lawrence Forooghian Date: Wed, 22 Jan 2025 15:11:12 -0300 Subject: [PATCH] fix reutrning of channels object not sure why the compiler didn't catch this --- Source/ARTRealtimeWrapperSDKProxy.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/ARTRealtimeWrapperSDKProxy.m b/Source/ARTRealtimeWrapperSDKProxy.m index 3f196fb6f..0f055a773 100644 --- a/Source/ARTRealtimeWrapperSDKProxy.m +++ b/Source/ARTRealtimeWrapperSDKProxy.m @@ -50,6 +50,8 @@ - (instancetype)initWithRealtime:(ARTRealtime *)realtime if (self = [super init]) { _realtime = realtime; _options = options; + _channels = [[ARTRealtimeWrapperSDKChannelsProxy alloc] initWithChannels:realtime.channels + options:options]; } return self; @@ -59,10 +61,6 @@ - (ARTConnection *)connection { return self.realtime.connection; } -- (ARTRealtimeChannels *)channels { - return self.realtime.channels; -} - - (ARTPush *)push { return self.realtime.push; }