Skip to content

Commit 15f16ff

Browse files
committed
Using the same example in onSubscriptionCountChanged function as onMemberAdded one.
1 parent 9bccb2e commit 15f16ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,7 @@ For non-presence channels, you can also provide a function that will be called w
613613
614614
```swift
615615
let onSubscriptionCountChanged = { (count: Int) in
616-
let message = "\(count) subscriptions"
617-
self.message = message
616+
print("\(count) subscriptions")
618617
}
619618
620619
let channel = pusher.subscribe(

0 commit comments

Comments
 (0)