summaryrefslogtreecommitdiff
path: root/internal/fsm
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-24 14:37:05 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-24 14:37:05 +0200
commit03f0fc68168de8db1735cc7d1c4d328c4bdd03f2 (patch)
tree53218a27cbfbfccf8fb792835e31f28d36aadbfa /internal/fsm
parentfea086334359e715ee388e01c4a4a00f5f379fe4 (diff)
State + Server + Exports: Implement removing a server
Diffstat (limited to 'internal/fsm')
-rw-r--r--internal/fsm/fsm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/fsm/fsm.go b/internal/fsm/fsm.go
index 0b32f84..ec19899 100644
--- a/internal/fsm/fsm.go
+++ b/internal/fsm/fsm.go
@@ -144,6 +144,7 @@ func (fsm *FSM) Init(
DEREGISTERED: FSMState{Transitions: []FSMTransition{{NO_SERVER, "Client registers"}}},
NO_SERVER: FSMState{
Transitions: []FSMTransition{
+ {NO_SERVER, "Reload list"},
{CHOSEN_SERVER, "User chooses a server"},
{SEARCH_SERVER, "The user is trying to choose a Server in the UI"},
{CONNECTED, "The user is already connected"},