Skip to content

Commit f8f1ab0

Browse files
committed
Fix wrong statement when clearing active channels
1 parent 8828819 commit f8f1ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/swift/Sources/Services/Realtime.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ open class Realtime : Service {
137137
let subsWithChannel = activeSubscriptions.filter { callback in
138138
return callback.value.channels.contains(channel)
139139
}
140-
return subsWithChannel.isEmpty
140+
return !subsWithChannel.isEmpty
141141
}
142142
}
143143
}

0 commit comments

Comments
 (0)