Skip to content

Commit

Permalink
fix: accept error message from server when tracking Presence
Browse files Browse the repository at this point in the history
  • Loading branch information
w3b6x9 committed Apr 11, 2024
1 parent a1d4932 commit c0ebe37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RealtimeChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ export default class RealtimeChannel {
}

push.receive('ok', () => resolve('ok'))
push.receive('error', () => resolve('error'))
push.receive('timeout', () => resolve('timed out'))
})
}
Expand Down

0 comments on commit c0ebe37

Please sign in to comment.