diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-11-20 13:07:17 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-11-20 13:15:21 +0100 |
commit | b51a3e81dd2178c681226458ca4bb73ae98a5e34 (patch) | |
tree | 5a46cd966b7d3cbb7ae10664b367ed62da170858 /qml/ChatlistItem.qml | |
parent | 3a23720bd8390fc96efdccfe65f27389672155c4 (diff) | |
download | kdeltachat-b51a3e81dd2178c681226458ca4bb73ae98a5e34.tar.gz kdeltachat-b51a3e81dd2178c681226458ca4bb73ae98a5e34.zip |
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
Diffstat (limited to 'qml/ChatlistItem.qml')
-rw-r--r-- | qml/ChatlistItem.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qml/ChatlistItem.qml b/qml/ChatlistItem.qml index aa05d42..6e37331 100644 --- a/qml/ChatlistItem.qml +++ b/qml/ChatlistItem.qml @@ -36,6 +36,15 @@ Kirigami.AbstractListItem { id: contextMenu Action { + text: "Block chat" + onTriggered: { + root.context.blockChat(root.chatId) + updateChatlist() + } + + } + + Action { icon.name: "pin" text: "Pin chat" onTriggered: root.context.setChatVisibility(root.chatId, 2) |