Skip to content

Commit

Permalink
Line break
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Mar 14, 2024
1 parent e2c6ff1 commit 9d8766a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/PubNub/Subscription/SubscriptionSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,14 @@ extension SubscriptionSession: SubscribeReceiver {
}

let channels = presenceItemsOnly ? [] : Set(subscriptions.filter {
matchingSubscriptions(for: $0, presenceOnly: false).isEmpty && matchingSubscriptions(for: $0, presenceOnly: true).isEmpty
matchingSubscriptions(
for: $0,
presenceOnly: false
).isEmpty &&
matchingSubscriptions(
for: $0,
presenceOnly: true
).isEmpty
}.flatMap {
$0.subscriptionNames
}).symmetricDifference(presenceItems.map {
Expand Down

0 comments on commit 9d8766a

Please sign in to comment.