Skip to content

Commit

Permalink
Update server/broadcast.go
Browse files Browse the repository at this point in the history
Co-authored-by: Thom Shutt <[email protected]>
  • Loading branch information
leszko and thomshutt authored Nov 4, 2024
1 parent 4c48a61 commit 3cb6999
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -1577,9 +1577,7 @@ func refreshSessionIfNeeded(ctx context.Context, sess *BroadcastSession) error {
return err
}
if shouldRefresh {
if err := refreshSession(ctx, sess); err != nil {
return err
}
return refreshSession(ctx, sess)
}
return nil
}
Expand Down

0 comments on commit 3cb6999

Please sign in to comment.