Skip to content

Commit

Permalink
fix(realtime): Adds missing .unsubscribed status change (#420)
Browse files Browse the repository at this point in the history
Adds missing `.unsubscribed` status change
  • Loading branch information
bryandubno committed Jun 14, 2024
1 parent 2acc50c commit dc90fb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Realtime/V2/RealtimeChannelV2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ public final class RealtimeChannelV2: Sendable {

await socket.removeChannel(self)
logger?.debug("Unsubscribed from channel \(message.topic)")
status = .unsubscribed
}

case .error:
Expand Down

0 comments on commit dc90fb6

Please sign in to comment.