aboutsummaryrefslogtreecommitdiff
path: root/message.cpp
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-11-02 12:29:39 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-11-02 12:29:39 +0100
commit09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d (patch)
tree5df86ed1844c51648db36a88fae324d442b9279f /message.cpp
parent3ef429a1b6759d6fe84cc44ed7dea51a3c8be799 (diff)
downloadkdeltachat-09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d.tar.gz
kdeltachat-09dbd21fef6c18bb79f5dd1b0c73a02dd9fba92d.zip
Videochat message displayed, rm actions dups
- message.*, qml/Message.qml: Videochat invitation message send from the original DeltaChat app are displayed. Currently, it's best if the chat instance use http or https scheme, since it'll normally open in a browser - qml/ComposePane.qml : We made Shorcuts and actions are needed anymore, no need for duplicates - qml/main.qml: Fix shortcut help for opening Settings page, it's Shift+Tab not Shift+S.
Diffstat (limited to 'message.cpp')
-rw-r--r--message.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/message.cpp b/message.cpp
index 6d02db1..89fafca 100644
--- a/message.cpp
+++ b/message.cpp
@@ -130,6 +130,12 @@ DcMessage::getFilemime()
return result;
}
+QString
+DcMessage::getVideochatUrl()
+{
+ return dc_msg_get_videochat_url(m_message);
+}
+
int
DcMessage::getWidth()
{