File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,10 @@ init {
113
113
addState(StartedState .HelloMessage ) {
114
114
startActions {
115
115
addActions {
116
- sendTextMessage(StartedState .HelloMessage .message)
117
- routeToState(StartedState .EnterOrganization )
116
+ listOf (
117
+ sendTextMessage(StartedState .HelloMessage .message),
118
+ routeToState(StartedState .EnterOrganization )
119
+ )
118
120
}
119
121
}
120
122
}
@@ -136,16 +138,15 @@ init {
136
138
addAction { sendTextMessage(StartedState .EnterName .message) }
137
139
}
138
140
anyValues {
139
- addActions {
140
- saveAction(SaveName )
141
- routeToState(Final )
142
- }
141
+ addAction { saveAction(SaveName ) }
142
+ addAction { routeToState(Final ) }
143
143
}
144
144
}
145
145
146
146
// Final
147
147
addState(Final ) {
148
148
startActions {
149
+ addAction { helloMessage() }
149
150
addAction { sendTextMessage(Final .message) }
150
151
}
151
152
}
You can’t perform that action at this time.
0 commit comments