summaryrefslogtreecommitdiff
path: root/client/fsm.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:29:12 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:29:12 +0100
commit0bfb35520d7e138e6219e550187e0b55bc8a29ac (patch)
treea087049edae0ff932bc7a14fef323783b26a2ff1 /client/fsm.go
parent59e6ccd051452162fab852a25deb4f0f8a9e22b2 (diff)
Formatting: Run gofumpt -w
Diffstat (limited to 'client/fsm.go')
-rw-r--r--client/fsm.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/fsm.go b/client/fsm.go
index 88d71f2..79d0f62 100644
--- a/client/fsm.go
+++ b/client/fsm.go
@@ -244,7 +244,6 @@ func (e FSMWrongStateError) CustomError() *types.WrappedErrorMessage {
)
}
-
// SetSearchServer sets the FSM to the SEARCH_SERVER state.
// This indicates that the user wants to search for a new server.
// Returns an error if this state transition is not possible.
@@ -437,7 +436,6 @@ func (client *Client) CancelOAuth() error {
return nil
}
-
// InFSMState is a helper to check if the FSM is in state `checkState`.
func (client *Client) InFSMState(checkState FSMStateID) bool {
return client.FSM.InState(checkState)