aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml4
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();
}
}