From b759e3578047b96968c9b9a817389d374850de59 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Thu, 4 Nov 2021 05:38:46 +0100 Subject: Implement sending Videochat invitations - layers popping function was hard to read in main.qml, add a line - add editable videochat instance setting --- context.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'context.cpp') 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) { -- cgit v1.2.3-70-g09d2