aboutsummaryrefslogtreecommitdiff
path: root/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'message.cpp')
-rw-r--r--message.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/message.cpp b/message.cpp
index 3027cec..7317075 100644
--- a/message.cpp
+++ b/message.cpp
@@ -85,6 +85,15 @@ DcMessage::getHeight()
return dc_msg_get_height(m_message);
}
+QString
+DcMessage::getOverrideSenderName()
+{
+ char *name = dc_msg_get_override_sender_name(m_message);
+ QString result{name};
+ dc_str_unref(name);
+ return result;
+}
+
bool
DcMessage::isInfo()
{