summaryrefslogtreecommitdiff
path: root/internal/server.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2022-04-25 17:32:14 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-25 17:32:14 +0200
commitb7c58415cd2de0fc9771dc4a49382fc62aefa7e8 (patch)
treebb2fd36f5f463da88311ed8b39579c997d4b0233 /internal/server.go
parentff93737084fb6178fdab4ca4ec62e7a5a951f640 (diff)
FSM: Add the ability to run callbacks in a goroutine
Diffstat (limited to 'internal/server.go')
-rw-r--r--internal/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server.go b/internal/server.go
index c76311e..48a0e85 100644
--- a/internal/server.go
+++ b/internal/server.go
@@ -170,7 +170,7 @@ func (server *Server) askForProfileID() error {
if !server.FSM.HasTransition(ASK_PROFILE) {
return errors.New("cannot ask for a profile id, invalid state")
}
- server.FSM.GoTransitionWithData(ASK_PROFILE, server.ProfilesRaw)
+ server.FSM.GoTransitionWithData(ASK_PROFILE, server.ProfilesRaw, false)
return nil
}