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 24, 2024
1 parent 03a90bb commit bf19ad2
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 @@ -478,6 +478,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 bf19ad2

Please sign in to comment.