aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-11-04 05:38:46 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-11-04 05:38:46 +0100
commitb759e3578047b96968c9b9a817389d374850de59 (patch)
treee50ee76e23f72c6c850ec6ff3bdd67fd827e0586 /context.cpp
parenta414601fcab42c883c1c5e391b76e91a92446f91 (diff)
downloadkdeltachat-b759e3578047b96968c9b9a817389d374850de59.tar.gz
kdeltachat-b759e3578047b96968c9b9a817389d374850de59.zip
Implement sending Videochat invitations
- layers popping function was hard to read in main.qml, add a line - add editable videochat instance setting
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 802a555..59d8211 100644
--- a/context.cpp
+++ b/context.cpp
@@ -272,6 +272,12 @@ Context::sendMessage(uint32_t chatId, DcMessage *message)
return dc_send_msg(m_context, chatId, message->m_message);
}
+uint32_t
+Context::sendVChatInv(uint32_t chatId)
+{
+ return dc_send_videochat_invitation(m_context, chatId);
+}
+
void
Context::importBackup(QString tarfile)
{