aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-22 01:59:44 +0300
committerlink2xt <link2xt@testrun.org>2021-02-22 02:00:00 +0300
commitf9fde8e2aed4d0e871e613f694282a24fef7c9dd (patch)
treece4378f4f7d7992a5c64d907a2b93f75ec765717 /context.cpp
parent8f669a6a45cff24e874d8249bc77faed34a2c734 (diff)
downloadkdeltachat-f9fde8e2aed4d0e871e613f694282a24fef7c9dd.tar.gz
kdeltachat-f9fde8e2aed4d0e871e613f694282a24fef7c9dd.zip
Add Context::decideOnContactRequest
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp
index b768fb6..8df8120 100644
--- a/context.cpp
+++ b/context.cpp
@@ -142,3 +142,9 @@ Context::setChatMuteDuration(uint32_t chatId, int64_t duration)
{
return dc_set_chat_mute_duration(m_context, chatId, duration);
}
+
+uint32_t
+Context::decideOnContactRequest(uint32_t msgId, int decision)
+{
+ return dc_decide_on_contact_request(m_context, msgId, decision);
+}