From b51a3e81dd2178c681226458ca4bb73ae98a5e34 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sat, 20 Nov 2021 13:07:17 +0100 Subject: You can unblock people now and some small fixes - the chatlist is now properly updated on blocking a contact request or contact. - A small message is now displayed after blocking a contact request - A list of blocked contact can be found on the settings page, after clicking 'View blocked users' - The message timestamp is now slightly padded --- qml/ChatlistItem.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qml/ChatlistItem.qml') diff --git a/qml/ChatlistItem.qml b/qml/ChatlistItem.qml index aa05d42..6e37331 100644 --- a/qml/ChatlistItem.qml +++ b/qml/ChatlistItem.qml @@ -35,6 +35,15 @@ Kirigami.AbstractListItem { Menu { id: contextMenu + Action { + text: "Block chat" + onTriggered: { + root.context.blockChat(root.chatId) + updateChatlist() + } + + } + Action { icon.name: "pin" text: "Pin chat" -- cgit v1.2.3-70-g09d2