From f20aee69061e5bf1ea791b6ccffa4473702f59a7 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sun, 26 May 2019 15:27:33 +0200 Subject: [PATCH] Fixes #1576 When using `auto_login` and logging out, Converse gets stucks with an infinite spinner. --- CHANGES.md | 1 + src/templates/login_panel.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 06a0cc365..649174f02 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -28,6 +28,7 @@ - #1554: Room auto-configuration broke if the config form contained fields with type `fixed` - #1558: `this.get` is not a function error when `forward_messages` is set to `true`. - #1572: In `fullscreen` view mode the top is cut off on iOS +- #1576: Converse gets stuck with spinner when logging out with `auto_login` set to `true` - **Breaking changes**: - Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands). diff --git a/src/templates/login_panel.html b/src/templates/login_panel.html index b85081267..02b9242dc 100644 --- a/src/templates/login_panel.html +++ b/src/templates/login_panel.html @@ -4,7 +4,7 @@

{{{ o.conn_feedback_subject }}}

- {[ if (o.auto_login || o._converse.CONNECTION_STATUS[o.connection_status] === 'CONNECTING') { ]} + {[ if (o._converse.CONNECTION_STATUS[o.connection_status] === 'CONNECTING') { ]} {[ } else { ]} {[ if (o.authentication == o.LOGIN || o.authentication == o.EXTERNAL) { ]}