Skip to content

Commit

Permalink
ReceivePresenceEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Sep 6, 2024
1 parent d1e5990 commit 34a21e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/PubNub/KMM/Wrappers/PubNubSubscriptionObjC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ public class PubNubSubscriptionObjC: NSObject {
self.subscription = Subscription(entity: entity.entity)
self.receivePresenceEvents = receivePresenceEvents
}

@objc
public init(entity: PubNubEntityRepresentableObjC) {
self.subscription = Subscription(entity: entity.entity)
self.receivePresenceEvents = false
}

@objc
public func dispose() {
Expand Down

0 comments on commit 34a21e6

Please sign in to comment.