Skip to content

Commit

Permalink
Responds to reconnect message
Browse files Browse the repository at this point in the history
  • Loading branch information
thommcgrath committed Nov 26, 2024
1 parent 87383ac commit 5dc5c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project/Modules/Beacon/PusherThread.xojo_code
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ Inherits Global.Thread
Var ErrorMessage As String = Data.Value("message")
App.Log("Pusher error #" + ErrorCode.ToString(Locale.Raw, "0") + ": " + ErrorMessage)
ShouldReconnect = True
Case "reconnect"
ShouldReconnect = True
Else
If Json.HasKey("channel") Then
Var ChannelName As String = Json.Value("channel")
Expand Down

0 comments on commit 5dc5c1a

Please sign in to comment.