Skip to content

Commit

Permalink
fix: apply restrictions to state correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Feb 16, 2024
1 parent f6242eb commit ec31ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/daemon/controls.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (p *AppPlayer) loadContext(ctx *connectpb.Context, skipTo skipToFunc, pause

p.state.player.ContextUri = ctx.Uri
p.state.player.ContextUrl = ctx.Url
p.state.player.Restrictions = ctx.Restrictions
p.state.player.ContextRestrictions = ctx.Restrictions

if p.state.player.ContextMetadata == nil {
Expand Down

0 comments on commit ec31ca1

Please sign in to comment.