Skip to content

Commit 78c37e6

Browse files
committed
Changed onSubscriptionCountChanged visibility on PusherChannel
1 parent 1af9173 commit 78c37e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/Models/PusherChannel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ open class PusherChannel: NSObject {
2727
open var unsentEvents = [QueuedClientEvent]()
2828
public let type: PusherChannelType
2929
public var auth: PusherAuth?
30-
31-
private let onSubscriptionCountChanged: ((Int) -> Void)?
30+
public var onSubscriptionCountChanged: ((Int) -> Void)?
3231

3332
// Wrap accesses to the decryption key in a serial queue because it will be accessed from multiple threads
3433
@nonobjc private var decryptionKeyQueue = DispatchQueue(label: "com.pusher.pusherswift-channel-decryption-key-\(UUID().uuidString)",

0 commit comments

Comments
 (0)