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 /context.h | |
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 'context.h')
-rw-r--r-- | context.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ public: Q_INVOKABLE DcChat *getChat(uint32_t chatId); Q_INVOKABLE QVariantList getContacts(uint32_t flags, QString query); Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId); + Q_INVOKABLE QVariantMap getBlockedContacts(); + Q_INVOKABLE void blockContact(uint32_t contactId, uint32_t blockMode); Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId); Q_INVOKABLE void marknoticedChat(uint32_t chatId); Q_INVOKABLE void markseenMsgs(QVector<uint32_t> msg_ids); |