Skip to content

Commit

Permalink
cc/threads: fix editThread invitable
Browse files Browse the repository at this point in the history
Signed-off-by: SoggySaussages <vmdmaharaj@gmail.com>
  • Loading branch information
SoggySaussages committed Jun 12, 2024
1 parent 7c212c0 commit c80a96e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions common/templates/context_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1820,10 +1820,8 @@ func processThreadArgs(newThread bool, parent *dstate.ChannelState, values ...in
case "invitable":
val, ok := val.(bool)
if ok {
if val {
invitable := val
c.Invitable = &invitable
}
invitable := val
c.Invitable = &invitable
continue
}
return c, errors.New("'invitable' must be a boolean")
Expand Down

0 comments on commit c80a96e

Please sign in to comment.