diff options
author | link2xt <link2xt@testrun.org> | 2021-07-26 00:07:19 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-07-26 00:08:11 +0300 |
commit | cd6fe80f84c1f1e44b4ee306ac2672a7287778c1 (patch) | |
tree | 150ab9e3b2f4a2228be0387fab5d7f40af363d2b /context.h | |
parent | 9e5fe2dc856795d0d3d8b6a3adf3fdd3015d9158 (diff) | |
download | kdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.tar.gz kdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.zip |
Get rid of the contact requests chat
Diffstat (limited to 'context.h')
-rw-r--r-- | context.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,6 +29,8 @@ public: Q_INVOKABLE DcChatlist *getChatlist(int flags); Q_INVOKABLE void setChatVisibility(uint32_t chatId, int visibility); Q_INVOKABLE void deleteChat(uint32_t chatId); + Q_INVOKABLE void blockChat(uint32_t chatId); + Q_INVOKABLE void unblockChat(uint32_t chatId); Q_INVOKABLE QString getChatEncrinfo(uint32_t chatId); Q_INVOKABLE uint32_t getChatEphemeralTimer(uint32_t chatId); Q_INVOKABLE DcChat *getChat(uint32_t chatId); @@ -47,7 +49,6 @@ public: Q_INVOKABLE bool setChatMuteDuration(uint32_t chatId, int64_t duration); Q_INVOKABLE QString getMessageInfo(uint32_t msgId); Q_INVOKABLE QString getMessageHtml(uint32_t msgId); - Q_INVOKABLE uint32_t decideOnContactRequest(uint32_t msgId, int decision); Q_INVOKABLE DcMessage *newMessage(int viewtype); Q_INVOKABLE void importBackup(QString tarfile); |