summaryrefslogtreecommitdiff
path: root/fsm.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-11 10:19:56 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-11 12:42:11 +0200
commit565237c14a303a46d62d240b35c6f0082424256a (patch)
tree522f2aeb441a3eb22b6d5e05e66ef348241b2e66 /fsm.go
parent17e261dd224bc67f031b80930490768ea54353db (diff)
Client: Refactor out adding a Server from getting a config
Diffstat (limited to 'fsm.go')
-rw-r--r--fsm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsm.go b/fsm.go
index 8f60605..ae5bfdc 100644
--- a/fsm.go
+++ b/fsm.go
@@ -157,6 +157,7 @@ func newFSM(
Transitions: []FSMTransition{
{To: STATE_OAUTH_STARTED, Description: "Re-authorize with OAuth"},
{To: STATE_REQUEST_CONFIG, Description: "Client requests a config"},
+ {To: STATE_NO_SERVER, Description: "Client wants to go back to the main screen"},
},
},
STATE_REQUEST_CONFIG: FSMState{