diff options
author | link2xt <link2xt@testrun.org> | 2021-06-06 17:29:15 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-06-06 17:29:15 +0300 |
commit | 4c05ea65bc643c4fff092b98afa769fa5fb07dbb (patch) | |
tree | 0b957d825cd5fad794a9b899fdd347ddbfe5c4ba | |
parent | 337916c8e4854cd6f4f157a901788d633e8917f8 (diff) | |
download | kdeltachat-4c05ea65bc643c4fff092b98afa769fa5fb07dbb.tar.gz kdeltachat-4c05ea65bc643c4fff092b98afa769fa5fb07dbb.zip |
Switch to archived chats when archived chat link is clicked
There is currently no way to switch back, a workaround is to switch account.
-rw-r--r-- | qml/ChatlistPage.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index e1fb3b9..41c21b3 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -134,7 +134,9 @@ Kirigami.ScrollablePage { console.log("Error loading chat page: " + chatPageComponent.errorString()) } } else if (chatId == 6) { - console.log("Clicked on archived chat link") + chatlistPage.archivedOnly = true + chatlist.currentIndex = -1 + updateChatlist(); } } |