Skip to content

Commit f66bf2f

Browse files
committed
Making onSubscriptionCountChanged access consistent to Presence channel events
1 parent 78c37e6 commit f66bf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Models/PusherChannel.swift

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

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

0 commit comments

Comments
 (0)