1
0
Fork 0

- prevented trying to authorize a fediverse client when no fediverse credentials has beed added to the configuration file.

This commit is contained in:
cage 2024-03-30 14:49:41 +01:00
parent bbca3c8a31
commit 8d03f38b4c
1 changed files with 5 additions and 2 deletions

View File

@ -195,8 +195,11 @@ etc.) happened"
(ui:display-latest-visited-urls)
(ui:focus-to-message-window))
(ui:focus-to-thread-window))
;; now init the client
(when (not *gemini-full-screen-mode*)
;; now init the client we do not check for empty server name as
;; the length of server-nems and usernames must be the same (this
;; rule is enforced by 'swconf:trivial-configuration-checks')
(when (not (or *gemini-full-screen-mode*
(null (swconf::config-username))))
(client:init)
(client:authorize))
(when command-line:*module-file*