Handle revoked tokens better

This commit is contained in:
Tobias Fella
2020-11-12 11:19:13 +00:00
parent 79ee2e1279
commit 26b2071e11
3 changed files with 23 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ Kirigami.ScrollablePage {
text: i18n("Logout")
iconName: "im-kick-user"
onTriggered: {
Controller.logout(model.connection)
Controller.logout(model.connection, true)
if(Controller.accountCount === 1)
pageStack.layers.pop()
}