mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
fill DcContact.getProfileImage() with life
This commit is contained in:
parent
d608f72599
commit
ef11e1beb2
1 changed files with 4 additions and 1 deletions
|
@ -1174,7 +1174,10 @@ JNIEXPORT jstring Java_com_b44t_messenger_DcContact_getNameNAddr(JNIEnv *env, jo
|
||||||
|
|
||||||
JNIEXPORT jstring Java_com_b44t_messenger_DcContact_getProfileImage(JNIEnv *env, jobject obj)
|
JNIEXPORT jstring Java_com_b44t_messenger_DcContact_getProfileImage(JNIEnv *env, jobject obj)
|
||||||
{
|
{
|
||||||
return JSTRING_NEW("");
|
const char* temp = dc_contact_get_profile_image(get_dc_contact(env, obj));
|
||||||
|
jstring ret = JSTRING_NEW(temp);
|
||||||
|
free(temp);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue