aboutsummaryrefslogtreecommitdiff
path: root/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chat.cpp')
-rw-r--r--chat.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/chat.cpp b/chat.cpp
index ffb8624..bcda818 100644
--- a/chat.cpp
+++ b/chat.cpp
@@ -37,13 +37,14 @@ DcChat::getName()
return result;
}
-/*
QString
DcChat::getProfileImage()
{
- char *profileImage = dc_chat_get_profile_image(m_chat);
+ char *profileImage = dc_chat_get_profile_image(m_chat);
+ QString result{profileImage};
+ dc_str_unref(profileImage);
+ return result;
}
-*/
QColor
DcChat::getColor()