aboutsummaryrefslogtreecommitdiff
path: root/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contact.cpp')
-rw-r--r--contact.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/contact.cpp b/contact.cpp
index db6a887..f51a666 100644
--- a/contact.cpp
+++ b/contact.cpp
@@ -49,6 +49,15 @@ DcContact::getDisplayName()
return result;
}
+QString
+DcContact::getProfileImage()
+{
+ char *profileImage = dc_contact_get_profile_image(m_contact);
+ QString result{profileImage};
+ dc_str_unref(profileImage);
+ return result;
+}
+
QColor
DcContact::getColor()
{