Skip to content

Commit

Permalink
fix hooks exposure from subscenario to main, release-0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Denire committed Mar 15, 2021
1 parent c0cf7c0 commit a5a9eba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = "com.justai.jaicf"
version = "0.13.0"
version = "0.13.1"

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ sealed class ScenarioGraphBuilder<B : BotRequest, R : Reactions>(
@ScenarioDsl
fun append(other: Scenario) {
val isRoot = this is RootBuilder
doAppend(other, ignoreHooks = true, exposeHooks = isRoot, propagateHooks = true)
doAppend(other, ignoreHooks = !isRoot, exposeHooks = isRoot, propagateHooks = true)
}

/**
Expand Down

0 comments on commit a5a9eba

Please sign in to comment.