From cd6fe80f84c1f1e44b4ee306ac2672a7287778c1 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 26 Jul 2021 00:07:19 +0300 Subject: Get rid of the contact requests chat --- context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'context.h') diff --git a/context.h b/context.h index 1b7abc2..02f0711 100644 --- a/context.h +++ b/context.h @@ -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); -- cgit v1.2.3-70-g09d2